ChannelFactory.InitializeEndpoint ChannelFactory.InitializeEndpoint ChannelFactory.InitializeEndpoint ChannelFactory.InitializeEndpoint Method

Définition

Initialise le point de terminaison du service de la fabrique de canal.Initializes the service endpoint of the channel factory.

Surcharges

InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress)

Initialise le point de terminaison du service de la fabrique de canal avec une adresse et une configuration spécifiées.Initializes the service endpoint of the channel factory with a specified address and configuration.

InitializeEndpoint(Binding, EndpointAddress) InitializeEndpoint(Binding, EndpointAddress) InitializeEndpoint(Binding, EndpointAddress)

Initialise le point de terminaison du service de la fabrique de canal avec une liaison et une adresse spécifiées.Initializes the service endpoint of the channel factory with a specified binding and address.

InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint)

Initialise le point de terminaison du service de la fabrication de canal avec un point de terminaison spécifié.Initializes the service endpoint of the channel factory with a specified endpoint.

Remarques

Vous devez disposer d’une adresse pour initialiser un point de terminaison, mais une liaison ou une configuration suffisent.You must have an address to initialize an endpoint, but can have just the binding or configuration instead of the full endpoint.

InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress) InitializeEndpoint(String, EndpointAddress)

Initialise le point de terminaison du service de la fabrique de canal avec une adresse et une configuration spécifiées.Initializes the service endpoint of the channel factory with a specified address and configuration.

protected:
 void InitializeEndpoint(System::String ^ configurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected void InitializeEndpoint (string configurationName, System.ServiceModel.EndpointAddress remoteAddress);
member this.InitializeEndpoint : string * System.ServiceModel.EndpointAddress -> unit
Protected Sub InitializeEndpoint (configurationName As String, remoteAddress As EndpointAddress)

Paramètres

configurationName
String String String String

Nom du fichier de configuration utilisé pour initialiser la fabrique de canal.The name of the configuration file used to initialize the channel factory.

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

EndpointAddress avec laquelle initialiser la fabrique de canal.The EndpointAddress with which to initialize the channel factory.

Remarques

Utilisez InitializeEndpoint(Binding, EndpointAddress) si vous ne disposez que de la liaison.Use InitializeEndpoint(Binding, EndpointAddress) if you have just the binding.

InitializeEndpoint(Binding, EndpointAddress) InitializeEndpoint(Binding, EndpointAddress) InitializeEndpoint(Binding, EndpointAddress)

Initialise le point de terminaison du service de la fabrique de canal avec une liaison et une adresse spécifiées.Initializes the service endpoint of the channel factory with a specified binding and address.

protected:
 void InitializeEndpoint(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
protected void InitializeEndpoint (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
member this.InitializeEndpoint : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> unit

Paramètres

binding
Binding Binding Binding Binding

Binding avec laquelle initialiser la fabrique de canal.The Binding with which to initialize the channel factory.

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

EndpointAddress avec laquelle initialiser la fabrique de canal.The EndpointAddress with which to initialize the channel factory.

Remarques

Utilisez InitializeEndpoint(String, EndpointAddress) si vous disposez de la configuration.Use InitializeEndpoint(String, EndpointAddress) if you have the configuration.

InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint) InitializeEndpoint(ServiceEndpoint)

Initialise le point de terminaison du service de la fabrication de canal avec un point de terminaison spécifié.Initializes the service endpoint of the channel factory with a specified endpoint.

protected:
 void InitializeEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected void InitializeEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);
member this.InitializeEndpoint : System.ServiceModel.Description.ServiceEndpoint -> unit
Protected Sub InitializeEndpoint (endpoint As ServiceEndpoint)

Paramètres

endpoint
ServiceEndpoint ServiceEndpoint ServiceEndpoint ServiceEndpoint

ServiceEndpoint avec lequel initialiser la fabrication de canal.The ServiceEndpoint to initialize the channel factory with.

Exceptions

Remarques

Utilisez InitializeEndpoint(Binding, EndpointAddress) si vous ne disposez que de la liaison.Use InitializeEndpoint(Binding, EndpointAddress) if you have just the binding. Utilisez InitializeEndpoint(String, EndpointAddress) si vous disposez de la configuration.Use InitializeEndpoint(String, EndpointAddress) if you have the configuration.

S’applique à