CallbackContextMessageProperty.GetListenAddressAndContext 方法

定义

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>

可由正在相互通信的客户端和服务实例识别的消息中的信息。

适用于