DiscoveryClient.ICommunicationObject.State 属性

定义

获取面向通信的对象的当前状态。

property System::ServiceModel::CommunicationState System::ServiceModel::ICommunicationObject::State { System::ServiceModel::CommunicationState get(); };
System.ServiceModel.CommunicationState System.ServiceModel.ICommunicationObject.State { get; }
member this.System.ServiceModel.ICommunicationObject.State : System.ServiceModel.CommunicationState
 ReadOnly Property State As CommunicationState Implements ICommunicationObject.State

属性值

对象的 CommunicationState 的值。

实现

注解

此成员是显式接口成员的实现。 它只能在 DiscoveryClient 实例被强制转换为 ICommunicationObject 接口时使用。

适用于