Share via


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>

訊息中包含的資訊,這是進行通訊之用戶端和服務執行個體之間可識別的資訊。

適用於