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 (InstanceContext^, String^, String^)

 

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

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

protected:
DuplexClientBase(
	InstanceContext^ callbackInstance,
	String^ endpointConfigurationName,
	String^ remoteAddress
)

Parameters

callbackInstance
Type: System.ServiceModel::InstanceContext^

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

endpointConfigurationName
Type: System::String^

The name of the client endpoint information in the application configuration file.

remoteAddress
Type: System::String^

The address of the service endpoint to use.

Exception Condition
ArgumentNullException

The callback instance is null.

ArgumentNullException

The configuration name is null.

ArgumentNullException

The address is null.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft