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.

ChannelFactory Members

The following tables list the members exposed by the ChannelFactory type.

  Name Description
Protected method ChannelFactory Initializes a new instance of the ChannelFactory class.
Top

(see also Protected Properties )
  Name Description
Public property Credentials Gets the credentials used by clients to communicate a service endpoint over the channels produced by the factory.
Public property Endpoint Gets the service endpoint to which the channels produced by the factory connect.
Public property State  Gets a value that indicates the current state of the communication object.(inherited from CommunicationObject)
Top

  Name Description
Protected property DefaultCloseTimeout Overridden. Gets the default interval of time provided for a close operation to complete.
Protected property DefaultOpenTimeout Overridden. Gets the default interval of time provided for an open operation to complete.
Protected property IsDisposed  Gets a value that indicates whether the communication object has been disposed.(inherited from CommunicationObject)
Protected property ThisLock  Gets the mutually exclusive lock that protects the class instance during a state transition.(inherited from CommunicationObject)
Top

(see also Protected Methods )
  Name Description
Public method Abort  Causes a communication object to transition immediately from its current state into the closing state. (inherited from CommunicationObject)
Public method BeginClose  Overloaded. Begins an asynchronous operation to close a communication object. (inherited from CommunicationObject)
Public method BeginOpen  Overloaded. Begins an asynchronous operation to close a communication object. (inherited from CommunicationObject)
Public method Close  Overloaded. Causes a communication object to transition from its current state into the closed state. (inherited from CommunicationObject)
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)
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 GetProperty Returns the typed object requested, if present, from the appropriate layer in the channel stack, or null if not present.
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. (inherited from CommunicationObject)
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 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.
Protected method CreateDescription When implemented in a derived class, creates a description of the service endpoint associated with the channel factory.
Protected method CreateFactory Builds the channel factory for the current endpoint of the factory.
Protected method EnsureOpened Opens the current channel factory if it is not yet opened.
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 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. (inherited from CommunicationObject)
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 Overridden. Terminates the inner channel factory of the current channel factory.
Protected method OnBeginClose Overridden. Begins an asynchronous close operation on the inner channel factory of the current channel factory that has a state object associated with it.
Protected method OnBeginOpen Overridden. Begins an asynchronous open operation on the inner channel factory of the current channel factory that has a state object associated with it.
Protected method OnClose Overridden. Calls close on the inner channel factory with a specified timeout for the completion of the operation.
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 Overridden. Completes an asynchronous close operation on the inner channel factory of the current channel factory.
Protected method OnEndOpen Overridden. Completes an asynchronous open operation on the inner channel factory of the current channel factory.
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 Overridden. Calls open on the inner channel factory of the current channel factory with a specified timeout for the completion of the operation.
Protected method OnOpened Overridden. Initializes a read-only copy of the ClientCredentials object for the channel factory.
Protected method OnOpening Overridden. Builds the inner channel factory for the current channel.
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)
Top

  Name Description
Public event Closed  Occurs when a communication object transitions into the closed state.(inherited from CommunicationObject)
Public event Closing  Occurs when a communication object transitions into the closing state.(inherited from CommunicationObject)
Public event Faulted  Occurs when a communication object transitions into the faulted state.(inherited from CommunicationObject)
Public event Opened  Occurs when a communication object transitions into the opened state.(inherited from CommunicationObject)
Public event Opening  Occurs when a communication object transitions into the opening state.(inherited from CommunicationObject)
Top

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose Closes the current channel factory.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft