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.

ConfigurationChannelFactory<TChannel> Constructor (String^, Configuration^, EndpointAddress^)

.NET Framework (current version)
 

Creates a new instance of the ConfigurationChannelFactory<TChannel> class with the specified endpoint configuration name, Configuration object, and the EndpointAddress object.

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

public:
ConfigurationChannelFactory(
	String^ endpointConfigurationName,
	Configuration^ configuration,
	EndpointAddress^ remoteAddress
)

Parameters

endpointConfigurationName
Type: System::String^

The name property in an endpoint configuration element.

configuration
Type: System.Configuration::Configuration^

The settings that define the information in the endpoint element.

remoteAddress
Type: System.ServiceModel::EndpointAddress^

The IP address of a destination endpoint in a client or server session. This parameter may be set to null to indicate the endpoint address should be taken from the configuration element specified in the configuration parameter.

Exception Condition
ArgumentNullException

endpointConfigurationName is null.

ArgumentNullException

configuration is null.

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