ConfigurationDuplexChannelFactory<TChannel> Constructor

Definitie

Hiermee maakt u een nieuw exemplaar van de ConfigurationDuplexChannelFactory<TChannel> klasse met het opgegeven callback-object, de naam van de eindpuntconfiguratie, het externe adres en de configuratie-instellingen.

public:
 ConfigurationDuplexChannelFactory(System::Object ^ callbackObject, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress, System::Configuration::Configuration ^ configuration);
public ConfigurationDuplexChannelFactory(object callbackObject, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress, System.Configuration.Configuration configuration);
new System.ServiceModel.Configuration.ConfigurationDuplexChannelFactory<'Channel> : obj * string * System.ServiceModel.EndpointAddress * System.Configuration.Configuration -> System.ServiceModel.Configuration.ConfigurationDuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, endpointConfigurationName As String, remoteAddress As EndpointAddress, configuration As Configuration)

Parameters

callbackObject
Object

Het proces dat reageert op een bericht van de client.

endpointConfigurationName
String

De naameigenschap in een eindpuntconfiguratie-element.

remoteAddress
EndpointAddress

Het IP-adres van een doeleindpunt in een client- of serversessie.

configuration
Configuration

De instellingen die de informatie definiƫren die wordt weergegeven in het eindpuntelement.

Uitzonderingen

callbackObject, endpointConfigurationNameof configuration is null.

Van toepassing op