ICommunicationObject.State 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得通訊導向物件的目前狀態。
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 。
備註
主要可用的 ICommunicationObject 通訊狀態有:
在前三種主要狀態之間轉換時,也存在此類物體可能處於暫時態:
這CommunicationState定義了系統中所有以通訊為導向的物件有效的狀態,包括通道、監聽器、通道與監聽者工廠,以及類別。ServiceHost