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.

DuplexChannelFactory<TChannel> Constructor (InstanceContext^)

 

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified instance context.

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

public:
DuplexChannelFactory(
	InstanceContext^ callbackInstance
)

Parameters

callbackInstance
Type: System.ServiceModel::InstanceContext^

The InstanceContext that the client uses to listen for messages from the connected service

Exception Condition
ArgumentNullException

callbackInstance is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft