Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommunicationObject Methods

(see also Protected Methods )
  Name Description
Public method Abort Causes a communication object to transition immediately from its current state into the closing state.
Public method BeginClose Overloaded. Begins an asynchronous operation to close a communication object.
Public method BeginOpen Overloaded. Begins an asynchronous operation to close a communication object.
Public method Close Overloaded. Causes a communication object to transition from its current state into the closed state.
Public method EndClose Completes an asynchronous operation to close a communication object.
Public method EndOpen Completes an asynchronous operation to open a communication object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Open Overloaded. Causes a communication object to transition from the created state into the opened state.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Fault Causes a communication object to transition from its current state into the faulted state.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetCommunicationObjectType Gets the type of communication object.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method 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 OnBeginClose Inserts processing after a communication object transitions to the closing state due to the invocation of an asynchronous close operation.
Protected method 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 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 OnClosed Invoked during the transition of a communication object into the closing state.
Protected method OnClosing Invoked during the transition of a communication object into the closing state.
Protected method OnEndClose Completes an asynchronous operation on the close of a communication object.
Protected method OnEndOpen Completes an asynchronous operation on the open of a communication object.
Protected method 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 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 OnOpened Invoked during the transition of a communication object into the opened state.
Protected method OnOpening Invoked during the transition of a communication object into the opening state.
Protected method ThrowIfDisposed Throws an exception if the communication object is disposed.
Protected method ThrowIfDisposedOrImmutable Throws an exception if the communication object the State property is not set to the Created state.
Protected method ThrowIfDisposedOrNotOpen Throws an exception if the communication object is not in the Opened state.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft