ChannelBase Members

Provides the base implementation for custom channels.

The ChannelBase type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework ChannelBase Initializes a new instance of the ChannelBase 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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
Public method Supported by the .NET Compact Framework EndOpen Completes an asynchronous operation to open a communication object. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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 GetProperty<T> Returns the typed object requested, if present, from the appropriate layer in the channel stack.
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework OnClosed Uses diagnostic tracing during the transition into the closing state. (Overrides CommunicationObject.OnClosed().)
Protected method Supported by the .NET Compact Framework OnClosing Invoked during the transition of a communication object into the closing state. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework OnEndClose Completes an asynchronous operation on the close of a communication object. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework OnEndOpen Completes an asynchronous operation on the open of a communication object. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework OnOpened Invoked during the transition of a communication object into the opened state. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework OnOpening Invoked during the transition of a communication object into the opening state. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
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. (Inherited from CommunicationObject.)
Protected method Supported by the .NET Compact Framework ThrowIfDisposedOrNotOpen Throws an exception if the communication object is not in the Opened state. (Inherited from CommunicationObject.)
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 Gets the default interval of time provided for a close operation to complete. (Overrides CommunicationObject.DefaultCloseTimeout.)
Protected property Supported by the .NET Compact Framework DefaultOpenTimeout Gets the default interval of time provided for an open operation to complete. (Overrides CommunicationObject.DefaultOpenTimeout.)
Protected property Supported by the .NET Compact Framework DefaultReceiveTimeout Gets the default interval of time provided for a receive operation to complete.
Protected property Supported by the .NET Compact Framework DefaultSendTimeout Gets the default interval of time provided for a send operation to complete.
Protected property Supported by the .NET Compact Framework IsDisposed Gets a value that indicates whether the communication object has been disposed. (Inherited from CommunicationObject.)
Protected property Supported by the .NET Compact Framework Manager Gets the channel manager that is associated with the current channel.
Public property Supported by the .NET Compact Framework State Gets a value that indicates the current state of the communication object. (Inherited from CommunicationObject.)
Protected property Supported by the .NET Compact Framework ThisLock Gets the mutually exclusive lock that protects the class instance during a state transition. (Inherited from CommunicationObject.)
Top

  NameDescription
Public event Supported by the .NET Compact Framework Closed Occurs when a communication object transitions into the closed state. (Inherited from CommunicationObject.)
Public event Supported by the .NET Compact Framework Closing Occurs when a communication object transitions into the closing state. (Inherited from CommunicationObject.)
Public event Supported by the .NET Compact Framework Faulted Occurs when a communication object transitions into the faulted state. (Inherited from CommunicationObject.)
Public event Supported by the .NET Compact Framework Opened Occurs when a communication object transitions into the opened state. (Inherited from CommunicationObject.)
Public event Supported by the .NET Compact Framework Opening Occurs when a communication object transitions into the opening state. (Inherited from CommunicationObject.)
Top

  NameDescription
Explicit interface implemetation Private property Supported by the .NET Compact Framework IDefaultCommunicationTimeouts.CloseTimeout Gets the interval of time after which the close method, invoked by a communication object, times out.
Explicit interface implemetation Private property Supported by the .NET Compact Framework IDefaultCommunicationTimeouts.OpenTimeout Gets the interval of time after which the open method, invoked by a communication object, times out.
Explicit interface implemetation Private property Supported by the .NET Compact Framework IDefaultCommunicationTimeouts.ReceiveTimeout Gets the interval of time after which the receive method, invoked by a communication object, times out.
Explicit interface implemetation Private property Supported by the .NET Compact Framework IDefaultCommunicationTimeouts.SendTimeout Gets the interval of time after which the send method, invoked by a communication object, times out.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft