.NET Framework Class Library
ChannelFactory Methods

The ChannelFactory type exposes the following members.

Methods

  NameDescription
Public methodAbortCauses a communication object to transition immediately from its current state into the closing state. (Inherited from CommunicationObject.)
Protected methodApplyConfigurationInitializes the channel factory with the behaviors provided by a specified configuration file and with those in the service endpoint of the channel factory.
Public methodBeginCloseOverloaded. Begins an asynchronous operation to close a communication object.
Public methodBeginOpenOverloaded. Begins an asynchronous operation to open a communication object.
Public methodCloseOverloaded. Causes a communication object to transition from its current state into the closed state.
Protected methodCreateDescriptionWhen implemented in a derived class, creates a description of the service endpoint associated with the channel factory.
Protected methodCreateFactoryBuilds the channel factory for the current endpoint of the factory.
Public methodEndCloseCompletes an asynchronous operation to close a communication object. (Inherited from CommunicationObject.)
Public methodEndOpenCompletes an asynchronous operation to open a communication object. (Inherited from CommunicationObject.)
Protected methodEnsureOpenedOpens the current channel factory if it is not yet opened.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFaultCauses a communication object to transition from its current state into the faulted state. (Inherited from CommunicationObject.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetCommunicationObjectTypeGets the type of communication object. (Inherited from CommunicationObject.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetProperty<(Of <(T>)>)Returns the typed object requested, if present, from the appropriate layer in the channel stack, or nullNothingnullptra null reference (Nothing in Visual Basic) if not present.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeEndpointOverloaded. Initializes the service endpoint of the channel factory.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnAbortTerminates the inner channel factory of the current channel factory. (Overrides CommunicationObject..::.OnAbort()()().)
Protected methodOnBeginCloseBegins an asynchronous close operation on the inner channel factory of the current channel factory that has a state object associated with it. (Overrides CommunicationObject..::.OnBeginClose(TimeSpan, AsyncCallback, Object).)
Protected methodOnBeginOpenBegins an asynchronous open operation on the inner channel factory of the current channel factory that has a state object associated with it. (Overrides CommunicationObject..::.OnBeginOpen(TimeSpan, AsyncCallback, Object).)
Protected methodOnCloseCalls close on the inner channel factory with a specified time-out for the completion of the operation. (Overrides CommunicationObject..::.OnClose(TimeSpan).)
Protected methodOnClosedInvoked during the transition of a communication object into the closing state. (Inherited from CommunicationObject.)
Protected methodOnClosingInvoked during the transition of a communication object into the closing state. (Inherited from CommunicationObject.)
Protected methodOnEndCloseCompletes an asynchronous close operation on the inner channel factory of the current channel factory. (Overrides CommunicationObject..::.OnEndClose(IAsyncResult).)
Protected methodOnEndOpenCompletes an asynchronous open operation on the inner channel factory of the current channel factory. (Overrides CommunicationObject..::.OnEndOpen(IAsyncResult).)
Protected methodOnFaultedInserts 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 methodOnOpenCalls open on the inner channel factory of the current channel factory with a specified time-out for the completion of the operation. (Overrides CommunicationObject..::.OnOpen(TimeSpan).)
Protected methodOnOpenedInitializes a read-only copy of the ClientCredentials object for the channel factory. (Overrides CommunicationObject..::.OnOpened()()().)
Protected methodOnOpeningBuilds the inner channel factory for the current channel. (Overrides CommunicationObject..::.OnOpening()()().)
Public methodOpenOverloaded. Causes a communication object to transition from the created state into the opened state.
Protected methodThrowIfDisposedThrows an exception if the communication object is disposed. (Inherited from CommunicationObject.)
Protected methodThrowIfDisposedOrImmutableThrows an exception if the communication object the State property is not set to the Created state. (Inherited from CommunicationObject.)
Protected methodThrowIfDisposedOrNotOpenThrows an exception if the communication object is not in the Opened state. (Inherited from CommunicationObject.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIDisposable..::.DisposeCloses the current channel factory.
Top
See Also

Reference

Tags :


Page view tracker