ICommunicationObject.State プロパティ

定義

通信指向オブジェクトの現在の状態を取得します。

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 主な通信状態は次のとおりです。

さらに、そのようなオブジェクトは、上に挙げた最初の 3 つのメイン状態の間を遷移するときに、次の遷移状態を取ることができます。

これにより CommunicationState 、チャネル、リスナー、チャネルとリスナー ファクトリ、クラスなど、システム内のすべての通信指向オブジェクトに対して有効な状態が ServiceHost 定義されます。

適用対象