Export (0) Print
Expand All

ClientBase<TChannel> Constructor

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
Protected method ClientBase<TChannel>() Initializes a new instance of the ClientBase<TChannel> class using the default target endpoint from the application configuration file.
Protected method ClientBase<TChannel>(InstanceContext) Initializes a new instance of the ClientBase<TChannel> class using the callbackInstance as the callback object in a duplex conversation.
Protected method ClientBase<TChannel>(ServiceEndpoint) Initializes a new instance of the ClientBase<TChannel> class using the specified System.ServiceModel.Description.ServiceEndpoint.
Protected method ClientBase<TChannel>(String) Initializes a new instance of the ClientBase<TChannel> class using the configuration information specified in the application configuration file by endpointConfigurationName.
Protected method ClientBase<TChannel>(Binding, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class using the specified binding and target address.
Protected method ClientBase<TChannel>(InstanceContext, ServiceEndpoint) Initializes a new instance of the ClientBase<TChannel> class using the specified InstanceContext and System.ServiceModel.Description.ServiceEndpoint objects.
Protected method ClientBase<TChannel>(InstanceContext, String) Initializes a new instance of the ClientBase<TChannel> class using the specified callback service and endpoint configuration information.
Protected method ClientBase<TChannel>(String, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class using the specified target address and endpoint information.
Protected method ClientBase<TChannel>(String, String) Initializes a new instance of the ClientBase<TChannel> class.
Protected method ClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class.
Protected method ClientBase<TChannel>(InstanceContext, String, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class.
Protected method ClientBase<TChannel>(InstanceContext, String, String) Initializes a new instance of the ClientBase<TChannel> class.
Top

Use to create a WCF client object from the endpoint information in the application configuration file. 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.

Show:
© 2014 Microsoft