Export (0) Print
Expand All

ClientBase<TChannel> Members

Provides the base implementation used to create Windows Communication Foundation (WCF) client objects that can call services.

The ClientBase<TChannel> type exposes the following members.

  NameDescription
Protected method ClientBase<TChannel> Overloaded. Initializes a new instance of the ClientBase<TChannel> class.
Top

  NameDescription
Public method Abort Causes the ClientBase<TChannel> object to transition immediately from its current state into the closed state.
Public method Close Causes the ClientBase<TChannel> object to transition from its current state into the closed state.
Protected method CreateChannel Returns a new channel to the service.
Public method DisplayInitializationUI Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 GetDefaultValueForInitialization<T> Replicates the behavior of the default keyword in C#.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method InvokeAsync Provides support for implementing the event-based asynchronous pattern. For more information about this pattern, see Event-based Asynchronous Pattern Overview.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Causes the ClientBase<TChannel> object to transition from the created state into the opened state.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected property Channel Gets the inner channel used to communicate with the service.
Public property ChannelFactory Gets the underlying ChannelFactory<TChannel> object.
Public property ClientCredentials Gets the client credentials used to call an operation.
Public property Endpoint Gets the target endpoint for the service to which the WCF client can connect.
Public property InnerChannel Gets the underlying IClientChannel implementation.
Public property State Gets the current state of the ClientBase<TChannel> object.
Top

  NameDescription
Top

  NameDescription
Public method BeginClose Overloaded. Begins an asynchronous operation to close the ClientBase<TChannel>.
Public method BeginOpen Overloaded. Begins an asynchronous operation to open the ClientBase<TChannel> object.
Explicit interface implemetation Private method ICommunicationObject.Close Causes the ClientBase<TChannel> object to transition from its current state into the closed state.
Explicit interface implemetation Private event ICommunicationObject.Closed The event handler that is invoked when the ClientBase<TChannel> object has transitioned from its current state to the closed state.
Explicit interface implemetation Private event ICommunicationObject.Closing The event handler that is invoked when the ClientBase<TChannel> object transitions from its current state to the closed state.
Explicit interface implemetation Private method IDisposable.Dispose Explicit implementation of the Dispose method.
Explicit interface implemetation Private method ICommunicationObject.EndClose Completes an asynchronous operation to close the ClientBase<TChannel> object.
Explicit interface implemetation Private method ICommunicationObject.EndOpen Completes an asynchronous operation to open the ClientBase<TChannel> object.
Explicit interface implemetation Private event ICommunicationObject.Faulted The event handler that is invoked when a fault occurs while performing an operation on the ClientBase<TChannel> object.
Explicit interface implemetation Private method ICommunicationObject.Open Causes the ClientBase<TChannel> object to transition from the created state into the opened state within a specified interval of time.
Explicit interface implemetation Private event ICommunicationObject.Opened The event handler that is invoked when the ClientBase<TChannel> object transitions from the created state to the opened state.
Explicit interface implemetation Private event ICommunicationObject.Opening The event handler that is invoked when the ClientBase<TChannel> object transitions from the created state to the opened state.
Top

Community Additions

ADD
Show:
© 2014 Microsoft