ClientBase<TChannel> Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the ClientBase<TChannel> class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |
The main function of the constructor is to create a System.ServiceModel.ChannelFactory<TChannel> where the type parameter is the type of the target service contract.