言語

CorrelationCallbackMessageProperty.TryGet メソッド

定義

添付された CorrelationCallbackMessageProperty をメッセージまたはメッセージ プロパティのコレクションから取得しようとします。

オーバーロード

名前 説明
TryGet(Message, CorrelationCallbackMessageProperty)

指定したメッセージのCorrelationCallbackMessagePropertyからPropertiesを取得しようとします。

TryGet(MessageProperties, CorrelationCallbackMessageProperty)

指定したメッセージ プロパティから CorrelationCallbackMessageProperty を取得しようとします。

TryGet(Message, CorrelationCallbackMessageProperty)

指定したメッセージのCorrelationCallbackMessagePropertyからPropertiesを取得しようとします。

public:
 static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Channels::CorrelationCallbackMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.Message message, out System.ServiceModel.Channels.CorrelationCallbackMessageProperty property);
static member TryGet : System.ServiceModel.Channels.Message * CorrelationCallbackMessageProperty -> bool
Public Shared Function TryGet (message As Message, ByRef property As CorrelationCallbackMessageProperty) As Boolean

パラメーター

message
Message

検査する Properties を含むメッセージ。

property
CorrelationCallbackMessageProperty

このメソッドから制御が戻るときに、指定したメッセージのCorrelationCallbackMessagePropertyに含まれるPropertiesが格納されます。それ以外の場合はnull。 このパラメーターは初期化せずに渡されます。

返品

true メッセージの PropertiesCorrelationCallbackMessagePropertyが含まれている場合は。それ以外の場合は false

適用対象

TryGet(MessageProperties, CorrelationCallbackMessageProperty)

指定したメッセージ プロパティから CorrelationCallbackMessageProperty を取得しようとします。

public:
 static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Channels::CorrelationCallbackMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.MessageProperties properties, out System.ServiceModel.Channels.CorrelationCallbackMessageProperty property);
static member TryGet : System.ServiceModel.Channels.MessageProperties * CorrelationCallbackMessageProperty -> bool
Public Shared Function TryGet (properties As MessageProperties, ByRef property As CorrelationCallbackMessageProperty) As Boolean

パラメーター

properties
MessageProperties

検査するメッセージ のプロパティ。

property
CorrelationCallbackMessageProperty

このメソッドから制御が戻るときに、指定したメッセージ プロパティに含まれる CorrelationCallbackMessageProperty が格納されます。それ以外の場合は null。 このパラメーターは初期化せずに渡されます。

返品

true メッセージのプロパティに CorrelationCallbackMessagePropertyが含まれている場合は。それ以外の場合は false

適用対象