CommunicationObject Members

Provides a common base implementation for the basic state machine common to all communication-oriented objects in the system, including channels, listeners, and the channel and listener factories.

The CommunicationObject type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework CommunicationObject Overloaded. Initializes a new instance of the CommunicationObject class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Abort Causes a communication object to transition immediately from its current state into the closing state.
Public method Supported by the .NET Compact Framework BeginClose Overloaded. Begins an asynchronous operation to close a communication object.
Public method Supported by the .NET Compact Framework BeginOpen Overloaded. Begins an asynchronous operation to open a communication object.
Public method Supported by the .NET Compact Framework Close Overloaded. Causes a communication object to transition from its current state into the closed state.
Public method Supported by the .NET Compact Framework EndClose Completes an asynchronous operation to close a communication object.
Public method Supported by the .NET Compact Framework EndOpen Completes an asynchronous operation to open a communication object.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Fault Causes a communication object to transition from its current state into the faulted state.
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework GetCommunicationObjectType Gets the type of communication object.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework OnAbort Inserts processing on a communication object after it transitions to the closing state due to the invocation of a synchronous abort operation.
Protected method Supported by the .NET Compact Framework OnBeginClose Inserts processing after a communication object transitions to the closing state due to the invocation of an asynchronous close operation.
Protected method Supported by the .NET Compact Framework OnBeginOpen Inserts processing on a communication object after it transitions to the opening state due to the invocation of an asynchronous open operation.
Protected method Supported by the .NET Compact Framework OnClose Inserts processing on a communication object after it transitions to the closing state due to the invocation of a synchronous close operation.
Protected method Supported by the .NET Compact Framework OnClosed Invoked during the transition of a communication object into the closing state.
Protected method Supported by the .NET Compact Framework OnClosing Invoked during the transition of a communication object into the closing state.
Protected method Supported by the .NET Compact Framework OnEndClose Completes an asynchronous operation on the close of a communication object.
Protected method Supported by the .NET Compact Framework OnEndOpen Completes an asynchronous operation on the open of a communication object.
Protected method Supported by the .NET Compact Framework OnFaulted Inserts processing on a communication object after it transitions to the faulted state due to the invocation of a synchronous fault operation.
Protected method Supported by the .NET Compact Framework OnOpen Inserts processing on a communication object after it transitions into the opening state which must complete within a specified interval of time.
Protected method Supported by the .NET Compact Framework OnOpened Invoked during the transition of a communication object into the opened state.
Protected method Supported by the .NET Compact Framework OnOpening Invoked during the transition of a communication object into the opening state.
Public method Supported by the .NET Compact Framework Open Overloaded. Causes a communication object to transition from the created state into the opened state.
Protected method Supported by the .NET Compact Framework ThrowIfDisposed Throws an exception if the communication object is disposed.
Protected method Supported by the .NET Compact Framework ThrowIfDisposedOrImmutable Throws an exception if the communication object the State property is not set to the Created state.
Protected method Supported by the .NET Compact Framework ThrowIfDisposedOrNotOpen Throws an exception if the communication object is not in the Opened state.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected property Supported by the .NET Compact Framework DefaultCloseTimeout When overridden in a derived class, gets the default interval of time provided for a close operation to complete.
Protected property Supported by the .NET Compact Framework DefaultOpenTimeout When overridden in a derived class, gets the default interval of time provided for an open operation to complete.
Protected property Supported by the .NET Compact Framework IsDisposed Gets a value that indicates whether the communication object has been disposed.
Public property Supported by the .NET Compact Framework State Gets a value that indicates the current state of the communication object.
Protected property Supported by the .NET Compact Framework ThisLock Gets the mutually exclusive lock that protects the class instance during a state transition.
Top

  NameDescription
Public event Supported by the .NET Compact Framework Closed Occurs when a communication object transitions into the closed state.
Public event Supported by the .NET Compact Framework Closing Occurs when a communication object transitions into the closing state.
Public event Supported by the .NET Compact Framework Faulted Occurs when a communication object transitions into the faulted state.
Public event Supported by the .NET Compact Framework Opened Occurs when a communication object transitions into the opened state.
Public event Supported by the .NET Compact Framework Opening Occurs when a communication object transitions into the opening state.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft