ConfigurationDuplexChannelFactory<TChannel> Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.