This documentation is archived and is not being maintained.

ChannelFactory<TChannel> Methods

The ChannelFactory<TChannel> type exposes the following members.

  NameDescription
Public method Abort Causes a communication object to transition immediately from its current state into the closing state. (Inherited from CommunicationObject.)
Protected method ApplyConfiguration Initializes the channel factory with the behaviors provided by a specified configuration file and with those in the service endpoint of the channel factory. (Inherited from ChannelFactory.)
Public method BeginClose Overloaded. Begins an asynchronous operation to close a communication object.
Public method BeginOpen Overloaded. Begins an asynchronous operation to open a communication object.
Public method Close Overloaded. Causes a communication object to transition from its current state into the closed state.
Public method Static member CreateChannel Overloaded. Creates a channel of a specified type to a specified endpoint address.
Protected method CreateDescription Creates a description of the service endpoint. (Overrides ChannelFactory.CreateDescription().)
Protected method CreateFactory Builds the channel factory for the current endpoint of the factory. (Inherited from ChannelFactory.)
Public method EndClose Completes an asynchronous operation to close a communication object. (Inherited from CommunicationObject.)
Public method EndOpen Completes an asynchronous operation to open a communication object. (Inherited from CommunicationObject.)
Protected method EnsureOpened Opens the current channel factory if it is not yet opened. (Inherited from ChannelFactory.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Fault Causes a communication object to transition from its current state into the faulted state. (Inherited from CommunicationObject.)
Protected method 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 GetCommunicationObjectType Gets the type of communication object. (Inherited from CommunicationObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty<T> Returns the typed object requested, if present, from the appropriate layer in the channel stack, or null if not present. (Inherited from ChannelFactory.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method InitializeEndpoint Overloaded. Initializes the service endpoint of the channel factory.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAbort Terminates the inner channel factory of the current channel factory. (Inherited from ChannelFactory.)
Protected method OnBeginClose Begins an asynchronous close operation on the inner channel factory of the current channel factory that has a state object associated with it. (Inherited from ChannelFactory.)
Protected method OnBeginOpen Begins an asynchronous open operation on the inner channel factory of the current channel factory that has a state object associated with it. (Inherited from ChannelFactory.)
Protected method OnClose Calls close on the inner channel factory with a specified time-out for the completion of the operation. (Inherited from ChannelFactory.)
Protected method OnClosed Invoked during the transition of a communication object into the closing state. (Inherited from CommunicationObject.)
Protected method OnClosing Invoked during the transition of a communication object into the closing state. (Inherited from CommunicationObject.)
Protected method OnEndClose Completes an asynchronous close operation on the inner channel factory of the current channel factory. (Inherited from ChannelFactory.)
Protected method OnEndOpen Completes an asynchronous open operation on the inner channel factory of the current channel factory. (Inherited from ChannelFactory.)
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. (Inherited from CommunicationObject.)
Protected method OnOpen Calls open on the inner channel factory of the current channel factory with a specified time-out for the completion of the operation. (Inherited from ChannelFactory.)
Protected method OnOpened Initializes a read-only copy of the ClientCredentials object for the channel factory. (Inherited from ChannelFactory.)
Protected method OnOpening Builds the inner channel factory for the current channel. (Inherited from ChannelFactory.)
Public method Open Overloaded. Causes a communication object to transition from the created state into the opened state.
Protected method ThrowIfDisposed Throws an exception if the communication object is disposed. (Inherited from CommunicationObject.)
Protected method ThrowIfDisposedOrImmutable Throws an exception if the communication object the State property is not set to the Created state. (Inherited from CommunicationObject.)
Protected method ThrowIfDisposedOrNotOpen Throws an exception if the communication object is not in the Opened state. (Inherited from CommunicationObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose Closes the current channel factory. (Inherited from ChannelFactory.)
Top
Show: