Defines the contract for the basic state machine for all communication-oriented objects in the system, including channels, the channel managers, factories, listeners, and dispatchers, and service hosts.
Public Interface ICommunicationObject
public interface ICommunicationObject
public interface class ICommunicationObject
type ICommunicationObject = interface end
The ICommunicationObject type exposes the following members.
The ICommunicationObject interface defines:
A set of open, close and abort methods for initiating state transitions:
Open
Close
Abort
Asynchronous versions of the open and close methods:
BeginOpen
EndOpen(IAsyncResult)
BeginClose
EndClose
A set of events that provide notifications of state transitions:
Opening
Opened
Closing
Closed
Faulted
A common State property for inspecting the state of an object
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2