CallbackContextMessageProperty 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CallbackContextMessageProperty 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CallbackContextMessageProperty(IDictionary<String,String>) |
初始化一個帶有指定上下文的新類別實例 CallbackContextMessageProperty 。 |
| CallbackContextMessageProperty(EndpointAddress) |
使用指定的 CallbackContextMessageProperty,初始化 EndpointAddress 類別的新實例。 |
| CallbackContextMessageProperty(EndpointAddress, IDictionary<String,String>) |
初始化一個包含上下文資訊的類別新實例 CallbackContextMessageProperty ,並包含 EndpointAddressIDictionary<TKey,TValue> a 與 。 |
| CallbackContextMessageProperty(String, IDictionary<String,String>) |
初始化一個包含指定監聽位址與上下文資訊的新類別實例 CallbackContextMessageProperty 。 |
| CallbackContextMessageProperty(Uri, IDictionary<String,String>) |
初始化一個包含指定監聽位址與上下文資訊的新類別實例 CallbackContextMessageProperty 。 |
CallbackContextMessageProperty(IDictionary<String,String>)
初始化一個帶有指定上下文的新類別實例 CallbackContextMessageProperty 。
public:
CallbackContextMessageProperty(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);
public CallbackContextMessageProperty(System.Collections.Generic.IDictionary<string,string> context);
new System.ServiceModel.Channels.CallbackContextMessageProperty : System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.CallbackContextMessageProperty
Public Sub New (context As IDictionary(Of String, String))
參數
- context
- IDictionary<String,String>
訊息中包含的資訊,由用戶端與進行通訊的服務實例共同識別。
適用於
CallbackContextMessageProperty(EndpointAddress)
使用指定的 CallbackContextMessageProperty,初始化 EndpointAddress 類別的新實例。
public:
CallbackContextMessageProperty(System::ServiceModel::EndpointAddress ^ callbackAddress);
public CallbackContextMessageProperty(System.ServiceModel.EndpointAddress callbackAddress);
new System.ServiceModel.Channels.CallbackContextMessageProperty : System.ServiceModel.EndpointAddress -> System.ServiceModel.Channels.CallbackContextMessageProperty
Public Sub New (callbackAddress As EndpointAddress)
參數
- callbackAddress
- EndpointAddress
回電地址。
備註
回調位址是服務用來回撥用戶端的端點位址。
適用於
CallbackContextMessageProperty(EndpointAddress, IDictionary<String,String>)
初始化一個包含上下文資訊的類別新實例 CallbackContextMessageProperty ,並包含 EndpointAddressIDictionary<TKey,TValue> a 與 。
public:
CallbackContextMessageProperty(System::ServiceModel::EndpointAddress ^ listenAddress, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);
public CallbackContextMessageProperty(System.ServiceModel.EndpointAddress listenAddress, System.Collections.Generic.IDictionary<string,string> context);
new System.ServiceModel.Channels.CallbackContextMessageProperty : System.ServiceModel.EndpointAddress * System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.CallbackContextMessageProperty
Public Sub New (listenAddress As EndpointAddress, context As IDictionary(Of String, String))
參數
- listenAddress
- EndpointAddress
用戶端所監聽的端點位址。
- context
- IDictionary<String,String>
訊息中包含的資訊,由用戶端與進行通訊的服務實例共同識別。
備註
上下文資訊可能包含客戶端實例與對話資訊。
適用於
CallbackContextMessageProperty(String, IDictionary<String,String>)
初始化一個包含指定監聽位址與上下文資訊的新類別實例 CallbackContextMessageProperty 。
public:
CallbackContextMessageProperty(System::String ^ listenAddress, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);
public CallbackContextMessageProperty(string listenAddress, System.Collections.Generic.IDictionary<string,string> context);
new System.ServiceModel.Channels.CallbackContextMessageProperty : string * System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.CallbackContextMessageProperty
Public Sub New (listenAddress As String, context As IDictionary(Of String, String))
參數
- listenAddress
- String
用戶端所監聽的端點位址。
- context
- IDictionary<String,String>
訊息中包含的資訊,由用戶端與進行通訊的服務實例共同識別。
適用於
CallbackContextMessageProperty(Uri, IDictionary<String,String>)
初始化一個包含指定監聽位址與上下文資訊的新類別實例 CallbackContextMessageProperty 。
public:
CallbackContextMessageProperty(Uri ^ listenAddress, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);
public CallbackContextMessageProperty(Uri listenAddress, System.Collections.Generic.IDictionary<string,string> context);
new System.ServiceModel.Channels.CallbackContextMessageProperty : Uri * System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.CallbackContextMessageProperty
Public Sub New (listenAddress As Uri, context As IDictionary(Of String, String))
參數
- listenAddress
- Uri
用戶端所監聽的端點位址。
- context
- IDictionary<String,String>
訊息中包含的資訊,由用戶端與進行通訊的服務實例共同識別。