ChannelFactory Methods

ChannelFactory 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. (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
Explicit interface implementation Method System.IDisposable.Dispose Closes the current channel factory.
Top

Community Additions

ADD
Show:
© 2016 Microsoft