IReplyChannel.LocalAddress 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取回复通道接收消息的地址。
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;
}
}