IReplyChannel.LocalAddress 屬性

定義

取得回覆通道接收訊息的位址。Gets the address on which this reply channel receives messages.

public:
 property System::ServiceModel::EndpointAddress ^ LocalAddress { System::ServiceModel::EndpointAddress ^ get(); };
public System.ServiceModel.EndpointAddress LocalAddress { get; }
member this.LocalAddress : System.ServiceModel.EndpointAddress
Public ReadOnly Property LocalAddress As EndpointAddress

屬性值

EndpointAddress,回覆通道在上面接收訊息的位址。The EndpointAddress on which this reply channel receives messages.

範例

下列程式碼說明如何實作這個屬性:The following code illustrates how to implement this property:

public EndpointAddress LocalAddress
{
    get
    {
        return this.InnerChannel.LocalAddress;
    }
}

適用於