DuplexClientBase<TChannel> Constructor (Object^, Binding^, EndpointAddress^)
.NET Framework (current version)
Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
protected:
DuplexClientBase(
Object^ callbackInstance,
Binding^ binding,
EndpointAddress^ remoteAddress
)
Parameters
- callbackInstance
-
Type:
System::Object^
An object used to create the instance context that associates the callback object with the channel to the service.
- binding
-
Type:
System.ServiceModel.Channels::Binding^
The binding with which to call the service.
- remoteAddress
-
Type:
System.ServiceModel::EndpointAddress^
The service endpoint address to use.
| Exception | Condition |
|---|---|
| ArgumentNullException | The callback instance is null. |
| ArgumentNullException | The binding is null. |
| ArgumentNullException | The address is null. |
WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.
.NET Framework
Available since 3.0
Available since 3.0
Show: