ICommunicationObject.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current state of the communication-oriented object.
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
Property Value
The value of the CommunicationState of the object.
Remarks
The main communication states available to an ICommunicationObject are:
There are also transitory states that such an object can occupy when transitioning between the first three main states:
This CommunicationState defines the states that are valid for all communication-oriented objects in the system, including channels, listeners, the channel and listener factories, and the ServiceHost class.