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>
訊息中包含的資訊,這是進行通訊之用戶端和服務執行個體之間可識別的資訊。