ContextMessageProperty 建構函式

定義

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

多載

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>

包含內容資訊的 IDictionary<TKey,TValue>,此資訊可用來將用戶端與服務間特定交談的訊息相互關聯。

例外狀況

contextnull

適用於