ICommunicationObject Interface
TOC
Collapse the table of content
Expand the table of content

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)

public interface ICommunicationObject

NameDescription
System_CAPS_pubpropertyState

Gets the current state of the communication-oriented object.

NameDescription
System_CAPS_pubmethodAbort()

Causes a communication object to transition immediately from its current state into the closed state.

System_CAPS_pubmethodBeginClose(AsyncCallback, Object)

Begins an asynchronous operation to close a communication object.

System_CAPS_pubmethodBeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close a communication object with a specified timeout.

System_CAPS_pubmethodBeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open a communication object.

System_CAPS_pubmethodBeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open a communication object within a specified interval of time.

System_CAPS_pubmethodClose()

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubmethodClose(TimeSpan)

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubmethodEndClose(IAsyncResult)

Completes an asynchronous operation to close a communication object.

System_CAPS_pubmethodEndOpen(IAsyncResult)

Completes an asynchronous operation to open a communication object.

System_CAPS_pubmethodOpen()

Causes a communication object to transition from the created state into the opened state.

System_CAPS_pubmethodOpen(TimeSpan)

Causes a communication object to transition from the created state into the opened state within a specified interval of time.

NameDescription
System_CAPS_pubeventClosed

Occurs when the communication object completes its transition from the closing state into the closed state.

System_CAPS_pubeventClosing

Occurs when the communication object first enters the closing state.

System_CAPS_pubeventFaulted

Occurs when the communication object first enters the faulted state.

System_CAPS_pubeventOpened

Occurs when the communication object completes its transition from the opening state into the opened state.

System_CAPS_pubeventOpening

Occurs when the communication object first enters the opening state.

The ICommunicationObject interface defines:

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft