ערוך

שתף באמצעות


ICommunicationObject.State Property

Definition

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.

Applies to