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.

ConfigurationDuplexChannelFactory<TChannel> Constructor (Object^, String^, EndpointAddress^, Configuration^)

.NET Framework (current version)
 

Creates a new instance of the ConfigurationDuplexChannelFactory<TChannel> class with the specified callback object, endpoint configuration name, remote address, and configuration settings.

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

public:
ConfigurationDuplexChannelFactory(
	Object^ callbackObject,
	String^ endpointConfigurationName,
	EndpointAddress^ remoteAddress,
	Configuration^ configuration
)

Parameters

callbackObject
Type: System::Object^

The process that responds to a message from the client.

endpointConfigurationName
Type: System::String^

The name property in an endpoint configuration element.

remoteAddress
Type: System.ServiceModel::EndpointAddress^

The IP address of a destination endpoint in a client or server session.

configuration
Type: System.Configuration::Configuration^

The settings that define the information presented in the endpoint element.

Exception Condition
ArgumentNullException

callbackObject is null.

ArgumentNullException

endpointConfigurationName is null.

ArgumentNullException

configuration is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft