ClientBase<TChannel>.State 属性

定义

获取 ClientBase<TChannel> 对象的当前状态。

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

属性值

CommunicationState

对象的 CommunicationState 的值。

实现

注解

有关详细信息,请参阅 System.ServiceModel.Channels.CommunicationObject

适用于