DuplexClientBase<TChannel> Constructor (Object^)

 

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.

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

protected:
DuplexClientBase(
	Object^ callbackInstance
)

Parameters

callbackInstance
Type: System::Object^

An object used to create the instance context that associates the callback object with the channel to the service.

Exception Condition
ArgumentNullException

The callback instance is null.

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

.NET Framework
Available since 3.0
Return to top
Show: