CorrelationDataMessageProperty.TryGetValue(String, String) メソッド

定義

データ プロバイダーのプライベート ディクショナリから、指定された関連付けデータ プロバイダーの取得を試みます。

public:
 bool TryGetValue(System::String ^ name, [Runtime::InteropServices::Out] System::String ^ % value);
public bool TryGetValue(string name, out string value);
member this.TryGetValue : string * string -> bool
Public Function TryGetValue (name As String, ByRef value As String) As Boolean

パラメーター

name
String

データ プロバイダーの名前。

value
String

このメソッドから制御が戻るときに、データ プロバイダーが存在する場合はデータ プロバイダーの値が格納されます。それ以外の場合は null。 このパラメーターは初期化せずに渡されます。

返品

true 指定した関連付けデータ プロバイダーが CorrelationDataMessageProperty に含まれている場合は ɰ。それ以外の場合は false

適用対象