This documentation is archived and is not being maintained.

DuplexClientBase.DuplexClientBase(InstanceContext, String) Constructor

Initializes a new instance of the DuplexClientBase class using the specified callback object and configuration name.

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

protected DuplexClientBase (
	InstanceContext callbackInstance,
	string endpointConfigurationName
protected DuplexClientBase (
	InstanceContext callbackInstance, 
	String endpointConfigurationName
protected function DuplexClientBase (
	callbackInstance : InstanceContext, 
	endpointConfigurationName : String
Not applicable.



An InstanceContext object that associates the callback object with the channel to the service.


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

Exception typeCondition


The callback instance is null.


The configuration name is null.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0