ClientBase<TChannel> Constructor (InstanceContext^, ServiceEndpoint^)

.NET Framework (current version)
 

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

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

protected:
ClientBase(
	InstanceContext^ callbackInstance,
	ServiceEndpoint^ endpoint
)

Parameters

callbackInstance
Type: System.ServiceModel::InstanceContext^

The callback object that the client application uses to listen for messages from the connected service.

endpoint
Type: System.ServiceModel.Description::ServiceEndpoint^

The endpoint for a service that allows clients to find and communicate with the service.

.NET Framework
Available since 4.0
Return to top
Show: