CallbackContextMessageProperty 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 和包含上下文信息的 EndpointAddress 来初始化 IDictionary<TKey,TValue> 类的新实例。
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>
可由正在相互通信的客户端和服务实例识别的消息中的信息。