Export (0) Print
Expand All

ICommunicationObject Interface

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.

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

'Declaration
Public Interface ICommunicationObject

The ICommunicationObject type exposes the following members.

  NameDescription
Public propertySupported by Silverlight for Windows PhoneStateGets the current state of the communication-oriented object.
Top

  NameDescription
Public methodSupported by Silverlight for Windows PhoneAbortCauses a communication object to transition immediately from its current state into the closed state.
Public methodSupported by Silverlight for Windows PhoneBeginClose(AsyncCallback, Object)Begins an asynchronous operation to close a communication object.
Public methodSupported by Silverlight for Windows PhoneBeginClose(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to close a communication object with a specified time-out.
Public methodSupported by Silverlight for Windows PhoneBeginOpen(AsyncCallback, Object)Begins an asynchronous operation to open a communication object.
Public methodSupported by Silverlight for Windows PhoneBeginOpen(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to open a communication object within a specified interval of time.
Public methodSupported by Silverlight for Windows PhoneCloseCauses a communication object to transition from its current state into the closed state.
Public methodSupported by Silverlight for Windows PhoneClose(TimeSpan)Causes a communication object to transition from its current state into the closed state.
Public methodSupported by Silverlight for Windows PhoneEndCloseCompletes an asynchronous operation to close a communication object.
Public methodSupported by Silverlight for Windows PhoneEndOpenCompletes an asynchronous operation to open a communication object.
Public methodSupported by Silverlight for Windows PhoneOpenCauses a communication object to transition from the created state into the opened state.
Public methodSupported by Silverlight for Windows PhoneOpen(TimeSpan)Causes a communication object to transition from the created state into the opened state within a specified interval of time.
Top

  NameDescription
Public eventSupported by Silverlight for Windows PhoneClosedOccurs when the communication object completes its transition from the closing state into the closed state.
Public eventSupported by Silverlight for Windows PhoneClosingOccurs when the communication object first enters the closing state.
Public eventSupported by Silverlight for Windows PhoneFaultedOccurs when the communication object first enters the faulted state.
Public eventSupported by Silverlight for Windows PhoneOpenedOccurs when the communication object completes its transition from the opening state into the opened state.
Public eventSupported by Silverlight for Windows PhoneOpeningOccurs when the communication object first enters the opening state.
Top

The ICommunicationObject interface defines:

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