DuplexClientBase<TChannel> Constructor (InstanceContext^)
.NET Framework (current version)
Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- callbackInstance
-
Type:
System.ServiceModel::InstanceContext^
An InstanceContext object that associates the callback object with the channel to the service.
| Exception | Condition |
|---|---|
| ArgumentNullException | The callback instance is null. |
The callbackInstance provided by the user is used to service all callback operations.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Show: