ClientBase<TChannel> Class
Provides the base implementation used to create Silverlight 5 client objects (proxies) that can call services.
System.ServiceModel.ClientBase<TChannel>
System.ServiceModel.DuplexClientBase<TChannel>
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The ClientBase<TChannel> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ClientBase<TChannel>() | Initializes a new instance of the ClientBase<TChannel> class using the default target endpoint from the application configuration file. |
![]() ![]() | ClientBase<TChannel>(String) | Initializes a new instance of the ClientBase<TChannel> class using the configuration information specified in the application configuration file by endpointConfigurationName. |
![]() ![]() | ClientBase<TChannel>(Binding, EndpointAddress) | Initializes a new instance of the ClientBase<TChannel> class using a specified binding and target address. |
![]() ![]() | ClientBase<TChannel>(String, EndpointAddress) | Initializes a new instance of the ClientBase<TChannel> class using the specified target address and endpoint information. |
![]() ![]() | ClientBase<TChannel>(String, String) | Initializes a new instance of the ClientBase<TChannel> class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Channel | Gets the inner channel used to communicate with the service. |
![]() ![]() | ChannelFactory | Gets the underlying ChannelFactory<TChannel> object. |
![]() ![]() | ClientCredentials | Gets the client credentials used to call an operation. |
![]() ![]() | Endpoint | Gets the target endpoint for the service to which the Silverlight 5 client can connect. |
![]() ![]() | InnerChannel | Gets the underlying IClientChannel implementation. |
![]() ![]() | State | Gets the current state of the ClientBase<TChannel> object. |
| Name | Description | |
|---|---|---|
![]() ![]() | Abort | Causes the ClientBase<TChannel> object to transition immediately from its current state into the closed state. |
![]() ![]() | CreateChannel | Returns a new channel from the client to the service. |
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetDefaultValueForInitialization<T> | Replicates the behavior of the default keyword in C#. |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | InvokeAsync | Provides support for implementing the event-based asynchronous pattern.
For more information about this pattern, see Event-based Asynchronous Pattern Overview. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | ICommunicationObject.BeginClose(AsyncCallback, Object) | Begins an asynchronous operation to close the ClientBase<TChannel>. |
![]() ![]() ![]() | ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to close the ClientBase<TChannel> with a specified time-out. |
![]() ![]() ![]() | ICommunicationObject.BeginOpen(AsyncCallback, Object) | Begins an asynchronous operation to open the ClientBase<TChannel> object. |
![]() ![]() ![]() | ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) | Begins an asynchronous operation to open the ClientBase<TChannel> object within a specified interval of time. |
![]() ![]() ![]() | ICommunicationObject.Close() | Causes the ClientBase<TChannel> object to transition from its current state into the closed state. |
![]() ![]() ![]() | ICommunicationObject.Close(TimeSpan) | Causes the ClientBase<TChannel> object to transition from its current state into the closed state. |
![]() ![]() | ICommunicationObject.Closed | The event handler that is invoked when the ClientBase<TChannel> object has transitioned from its current state to the closed state. |
![]() ![]() | ICommunicationObject.Closing | The event handler that is invoked when the ClientBase<TChannel> object transitions from its current state to the closed state. |
![]() ![]() ![]() | ICommunicationObject.EndClose | Completes an asynchronous operation to close the ClientBase<TChannel> object. |
![]() ![]() ![]() | ICommunicationObject.EndOpen | Completes an asynchronous operation to open the ClientBase<TChannel> object. |
![]() ![]() | ICommunicationObject.Faulted | The event handler that is invoked when a fault occurs while performing an operation on the ClientBase<TChannel> object. |
![]() ![]() ![]() | ICommunicationObject.Open() | Causes the ClientBase<TChannel> object to transition from the created state into the opened state. |
![]() ![]() ![]() | ICommunicationObject.Open(TimeSpan) | Causes the ClientBase<TChannel> object to transition from the created state into the opened state within a specified interval of time. |
![]() ![]() | ICommunicationObject.Opened | The event handler that is invoked when the ClientBase<TChannel> object has transitioned from the created state to the opened state. |
![]() ![]() | ICommunicationObject.Opening | The event handler that is invoked when the ClientBase<TChannel> object transitions from the created state to the opened state. |
Extend the ClientBase<TChannel> class to create a custom Silverlight 5 client object (proxy) that can be used to connect to a service.
The ClientBase<TChannel> class can be used quickly and easily by developers who prefer objects to the use of the interfaces and the System.ServiceModel.ChannelFactory<TChannel> class. In all cases this class wraps or exposes the methods and functionality of the System.ServiceModel.ChannelFactory<TChannel> class and the System.ServiceModel.IClientChannel interface.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

