ConfigurationDuplexChannelFactory<TChannel> Constructor (Object^, String^, EndpointAddress^, Configuration^)
Creates a new instance of the ConfigurationDuplexChannelFactory<TChannel> class with the specified callback object, endpoint configuration name, remote address, and configuration settings.
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. |
Available since 3.0