Export (0) Print
Expand All

DuplexClientBase<TChannel> Constructor (InstanceContext, 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.Extensions (in System.ServiceModel.Extensions.dll)

protected DuplexClientBase(
	InstanceContext callbackInstance,
	Binding binding,
	EndpointAddress remoteAddress
)

Parameters

callbackInstance
Type: System.ServiceModel.InstanceContext
An InstanceContext object 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.

ExceptionCondition
ArgumentNullException

The callback instance is null.

ArgumentNullException

The binding is null.

ArgumentNullException

The address is null.

The callbackInstance provided by the user is used to service all callback operations.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft