IReplyChannel.LocalAddress 属性

定义

获取回复通道接收消息的地址。

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

示例

下面的代码演示如何实现此属性:

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

适用于