Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClientBase<TChannel> Constructor

 

Initializes a new instance of the ClientBase<TChannel> class.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_protmethodClientBase<TChannel>()

Initializes a new instance of the ClientBase<TChannel> class using the default target endpoint from the application configuration file.

System_CAPS_protmethodClientBase<TChannel>(Binding^, EndpointAddress^)

Initializes a new instance of the ClientBase<TChannel> class using the specified binding and target address.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^)

Initializes a new instance of the ClientBase<TChannel> class using the callbackInstance as the callback object in a duplex conversation.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^, Binding^, EndpointAddress^)

Initializes a new instance of the ClientBase<TChannel> class.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^, ServiceEndpoint^)

Initializes a new instance of the ClientBase<TChannel> class using the specified InstanceContext and System.ServiceModel.Description::ServiceEndpoint objects.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^, String^)

Initializes a new instance of the ClientBase<TChannel> class using the specified callback service and endpoint configuration information.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^, String^, EndpointAddress^)

Initializes a new instance of the ClientBase<TChannel> class.

System_CAPS_protmethodClientBase<TChannel>(InstanceContext^, String^, String^)

Initializes a new instance of the ClientBase<TChannel> class.

System_CAPS_protmethodClientBase<TChannel>(ServiceEndpoint^)

Initializes a new instance of the ClientBase<TChannel> class using the specified System.ServiceModel.Description::ServiceEndpoint.

System_CAPS_protmethodClientBase<TChannel>(String^)

Initializes a new instance of the ClientBase<TChannel> class using the configuration information specified in the application configuration file by endpointConfigurationName.

System_CAPS_protmethodClientBase<TChannel>(String^, EndpointAddress^)

Initializes a new instance of the ClientBase<TChannel> class using the specified target address and endpoint information.

System_CAPS_protmethodClientBase<TChannel>(String^, String^)

Initializes a new instance of the ClientBase<TChannel> class.

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.

Return to top
Show:
© 2017 Microsoft