ICommunicationObject.State Property

July 28, 2014

Gets the current state of the communication-oriented object.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

CommunicationState State { get; }

Property Value

Type: System.ServiceModel.CommunicationState
The value of the CommunicationState of the object.

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, and the channel and listener factories class.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft