CallbackContextMessageProperty.GetListenAddressAndContext 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 CallbackContextMessageProperty 实例中获取侦听地址和上下文数据。
public:
void GetListenAddressAndContext([Runtime::InteropServices::Out] System::ServiceModel::EndpointAddress ^ % listenAddress, [Runtime::InteropServices::Out] System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ % context);
public void GetListenAddressAndContext (out System.ServiceModel.EndpointAddress listenAddress, out System.Collections.Generic.IDictionary<string,string> context);
member this.GetListenAddressAndContext : EndpointAddress * IDictionary -> unit
Public Sub GetListenAddressAndContext (ByRef listenAddress As EndpointAddress, ByRef context As IDictionary(Of String, String))
参数
- listenAddress
- EndpointAddress
用于存储侦听地址的引用。
- context
- IDictionary<String,String>
可由正在相互通信的客户端和服务实例识别的消息中的信息。