DuplexClientBase<TChannel> Constructor (InstanceContext^, ServiceEndpoint^)
.NET Framework (current version)
Initializes a new instance of the DuplexClientBase<TChannel> class with the specified callback object and service endpoint.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
protected:
DuplexClientBase(
InstanceContext^ callbackInstance,
ServiceEndpoint^ endpoint
)
Parameters
- callbackInstance
-
Type:
System.ServiceModel::InstanceContext^
An InstanceContext object that associates the callback object with the channel to the service.
- endpoint
-
Type:
System.ServiceModel.Description::ServiceEndpoint^
The service endpoint.
| Exception | Condition |
|---|---|
| ArgumentNullException | The callback instance is null. |
| ArgumentNullException | The service endpoint is null. |
.NET Framework
Available since 4.0
Available since 4.0
Show: