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: