DuplexChannelFactory<TChannel> Constructor (Object^)
.NET Framework (current version)
Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | callbackObject is null. |
Use this constructor to pass an object that implements the callback contract for the target service programmatically rather than by using an application configuration file.
.NET Framework
Available since 3.0
Available since 3.0
Show: