ScopedMessagePartSpecification.TryGetParts メソッド

定義

特定のアクション キーに一致する部分があるかどうかを確認します。

オーバーロード

名前 説明
TryGetParts(String, MessagePartSpecification)

特定のアクション キーに一致する部分があるかどうかを確認します。

TryGetParts(String, Boolean, MessagePartSpecification)

特定のアクション キーに一致する部分があるかどうかを確認します。

TryGetParts(String, MessagePartSpecification)

ソース:
ScopedMessagePartSpecification.cs
ソース:
ScopedMessagePartSpecification.cs
ソース:
ScopedMessagePartSpecification.cs

特定のアクション キーに一致する部分があるかどうかを確認します。

public:
 bool TryGetParts(System::String ^ action, [Runtime::InteropServices::Out] System::ServiceModel::Security::MessagePartSpecification ^ % parts);
public bool TryGetParts(string action, out System.ServiceModel.Security.MessagePartSpecification parts);
member this.TryGetParts : string * MessagePartSpecification -> bool
Public Function TryGetParts (action As String, ByRef parts As MessagePartSpecification) As Boolean

パラメーター

action
String

アクション キー。

parts
MessagePartSpecification

このメソッドから制御が戻るときに、見つかった部分を含む MessagePartSpecification が格納されます。 このパラメーターは初期化せずに渡されます。

返品

true 一致する部分が見つかった場合。それ以外の場合は false

注釈

指定されたアクションが ScopedMessagePartSpecificationに存在しない場合は、ワイルドカード アクション ("*") 用に構成されたメッセージ部分が返されます。

適用対象

TryGetParts(String, Boolean, MessagePartSpecification)

ソース:
ScopedMessagePartSpecification.cs
ソース:
ScopedMessagePartSpecification.cs
ソース:
ScopedMessagePartSpecification.cs

特定のアクション キーに一致する部分があるかどうかを確認します。

public:
 bool TryGetParts(System::String ^ action, bool excludeChannelScope, [Runtime::InteropServices::Out] System::ServiceModel::Security::MessagePartSpecification ^ % parts);
public bool TryGetParts(string action, bool excludeChannelScope, out System.ServiceModel.Security.MessagePartSpecification parts);
member this.TryGetParts : string * bool * MessagePartSpecification -> bool
Public Function TryGetParts (action As String, excludeChannelScope As Boolean, ByRef parts As MessagePartSpecification) As Boolean

パラメーター

action
String

アクション キー。

excludeChannelScope
Boolean

true場合、パーツを現在のチャネルに制限します。

parts
MessagePartSpecification

このメソッドから制御が戻るときに、見つかった部分を含む MessagePartSpecification が格納されます。 このパラメーターは初期化せずに渡されます。

返品

true 一致する部分が見つかった場合。それ以外の場合は false

注釈

指定されたアクションが ScopedMessagePartSpecificationに存在しない場合は、ワイルドカード アクション ("*") 用に構成されたメッセージ部分が返されます。

適用対象