Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DuplexClientBase<TChannel> Constructor (Object^, Binding^, EndpointAddress^)

 

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.

Namespace:   System.ServiceModel
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
Return to top
Show:
© 2017 Microsoft