語言

ContextMessageProperty 建構函式

定義

初始化 ContextMessageProperty 類別的新執行個體。

多載

名稱 Description
ContextMessageProperty()

初始化 ContextMessageProperty 類別的新執行個體。

ContextMessageProperty(IDictionary<String,String>)

初始化一個以特定上下文的新類別實例 ContextMessageProperty 。

ContextMessageProperty()

初始化 ContextMessageProperty 類別的新執行個體。

public:
 ContextMessageProperty();
public ContextMessageProperty();
Public Sub New ()

適用於

ContextMessageProperty(IDictionary<String,String>)

初始化一個以特定上下文的新類別實例 ContextMessageProperty 。

public:
 ContextMessageProperty(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);
public ContextMessageProperty(System.Collections.Generic.IDictionary<string,string> context);
new System.ServiceModel.Channels.ContextMessageProperty : System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.ContextMessageProperty
Public Sub New (context As IDictionary(Of String, String))

參數

context
IDictionary<String,String>

the that IDictionary<TKey,TValue> 包含用於將訊息與用戶端與服務之間特定對話關聯起來的上下文資訊。

例外狀況

context 是 null。

適用於