CommunicationObject Methods

The CommunicationObject type exposes the following members.

  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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft