DuplexClientBase<TChannel> Constructor (Object^, String^, EndpointAddress^)

 

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(
	Object^ callbackInstance,
	String^ endpointConfigurationName,
	EndpointAddress^ remoteAddress
)

Parameters

callbackInstance
Type: System::Object^

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.ServiceModel::EndpointAddress^

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.

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

.NET Framework
Available since 3.0
Return to top
Show: