Export (0) Print
Expand All

ICommunicationObject.State Property

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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft