ChannelFactory.InitializeEndpoint Methode

Definitie

Initialiseert het service-eindpunt van de kanaalfactory.

Overloads

Name Description
InitializeEndpoint(String, EndpointAddress)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven adres en configuratie.

InitializeEndpoint(Binding, EndpointAddress)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven binding en een opgegeven adres.

InitializeEndpoint(ServiceEndpoint)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven eindpunt.

Opmerkingen

U moet een adres hebben om een eindpunt te initialiseren, maar kan alleen de binding of configuratie hebben in plaats van het volledige eindpunt.

InitializeEndpoint(String, EndpointAddress)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven adres en configuratie.

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

Parameters

configurationName
String

De naam van het configuratiebestand dat wordt gebruikt om de kanaalfactory te initialiseren.

address
EndpointAddress

De EndpointAddress instantie waarmee de kanaalfactory moet worden geïnitialiseerd.

Opmerkingen

Gebruik InitializeEndpoint(Binding, EndpointAddress) deze optie als u alleen de binding hebt.

Van toepassing op

InitializeEndpoint(Binding, EndpointAddress)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven binding en een opgegeven adres.

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
Protected Sub InitializeEndpoint (binding As Binding, address As EndpointAddress)

Parameters

binding
Binding

De Binding instantie waarmee de kanaalfactory moet worden geïnitialiseerd.

address
EndpointAddress

De EndpointAddress instantie waarmee de kanaalfactory moet worden geïnitialiseerd.

Opmerkingen

Gebruik InitializeEndpoint(String, EndpointAddress) deze optie als u de configuratie hebt.

Van toepassing op

InitializeEndpoint(ServiceEndpoint)

Initialiseert het service-eindpunt van de kanaalfactory met een opgegeven eindpunt.

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)

Parameters

endpoint
ServiceEndpoint

De ServiceEndpoint instantie waarmee de kanaalfactory wordt geïnitialiseerd.

Uitzonderingen

endpoint is null.

Opmerkingen

Gebruik InitializeEndpoint(Binding, EndpointAddress) deze optie als u alleen de binding hebt. Gebruik InitializeEndpoint(String, EndpointAddress) deze optie als u de configuratie hebt.

Van toepassing op