ClientBase(Of TChannel).ChannelBase(Of T).ICommunicationObject.State Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the current state of the communication-oriented object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Private ReadOnly Property State As CommunicationState Implements ICommunicationObject.State
Property Value
Type: System.ServiceModel.CommunicationStateThe value of the CommunicationState of the object.
Implements
ICommunicationObject.StateThe 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.