WorkflowServiceHost.AddServiceEndpoint Methode

Definitie

Hiermee voegt u een service-eindpunt toe aan de gehoste service.

Overloads

Name Description
AddServiceEndpoint(Type, Binding, String)

Hiermee voegt u een service-eindpunt toe voor de werkstroomservice met behulp van het opgegeven contract, de binding en het eindpuntadres.

AddServiceEndpoint(Type, Binding, Uri)

Voegt een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, binding en URI die het eindpuntadres bevat.

AddServiceEndpoint(Type, Binding, String, Uri)

Hiermee voegt u een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, een binding, een eindpuntadres en een URI waarop de service luistert.

AddServiceEndpoint(Type, Binding, Uri, Uri)

Voegt een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, een binding, een URI die het eindpuntadres bevat en een URI waarop de service luistert.

AddServiceEndpoint(Type, Binding, String)

Hiermee voegt u een service-eindpunt toe voor de werkstroomservice met behulp van het opgegeven contract, de binding en het eindpuntadres.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ implementedContract, System::ServiceModel::Channels::Binding ^ binding, System::String ^ address);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint(Type implementedContract, System.ServiceModel.Channels.Binding binding, string address);
override this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.Description.ServiceEndpoint
Public Function AddServiceEndpoint (implementedContract As Type, binding As Binding, address As String) As ServiceEndpoint

Parameters

implementedContract
Type

Het Type contract voor het eindpunt toegevoegd.

binding
Binding

Het Binding voor het eindpunt is toegevoegd.

address
String

Het adres voor het eindpunt is toegevoegd.

Retouren

De ServiceEndpoint toegevoegde aan de werkstroomservice.

Uitzonderingen

implementedContract is null.

– of –

address is null.

ServiceContractAttribute niet opgegeven voor implementedContract. – of –

De werkstroomservice implementeert niet implementedContract.

Van toepassing op

AddServiceEndpoint(Type, Binding, Uri)

Voegt een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, binding en URI die het eindpuntadres bevat.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ implementedContract, System::ServiceModel::Channels::Binding ^ binding, Uri ^ address);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint(Type implementedContract, System.ServiceModel.Channels.Binding binding, Uri address);
override this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * Uri -> System.ServiceModel.Description.ServiceEndpoint
Public Function AddServiceEndpoint (implementedContract As Type, binding As Binding, address As Uri) As ServiceEndpoint

Parameters

implementedContract
Type

Het Type contract voor het eindpunt toegevoegd.

binding
Binding

Het Binding voor het eindpunt is toegevoegd.

address
Uri

Het Uri adres dat het adres voor het eindpunt bevat dat is toegevoegd.

Retouren

De ServiceEndpoint toegevoegde aan de werkstroomservice.

Uitzonderingen

implementedContract is null.

– of –

address is null.

ServiceContractAttribute niet opgegeven voor implementedContract.

– of –

De werkstroomservice implementeert niet implementedContract.

Van toepassing op

AddServiceEndpoint(Type, Binding, String, Uri)

Hiermee voegt u een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, een binding, een eindpuntadres en een URI waarop de service luistert.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ implementedContract, System::ServiceModel::Channels::Binding ^ binding, System::String ^ address, Uri ^ listenUri);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint(Type implementedContract, System.ServiceModel.Channels.Binding binding, string address, Uri listenUri);
override this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * string * Uri -> System.ServiceModel.Description.ServiceEndpoint
Public Function AddServiceEndpoint (implementedContract As Type, binding As Binding, address As String, listenUri As Uri) As ServiceEndpoint

Parameters

implementedContract
Type

Het Type contract voor het eindpunt toegevoegd.

binding
Binding

Het Binding voor het eindpunt is toegevoegd.

address
String

Het eindpuntadres voor de service.

listenUri
Uri

De Uri service-eindpunten waarop de service-eindpunten kunnen luisteren.

Retouren

De ServiceEndpoint toegevoegde aan de werkstroomservice.

Uitzonderingen

implementedContract is null.

– of –

address is null.

De werkstroomservice implementeert niet implementedContract.

– of –

ServiceContractAttribute niet opgegeven voor implementedContract.

Van toepassing op

AddServiceEndpoint(Type, Binding, Uri, Uri)

Voegt een service-eindpunt toe aan de werkstroomservice met een opgegeven contract, een binding, een URI die het eindpuntadres bevat en een URI waarop de service luistert.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ implementedContract, System::ServiceModel::Channels::Binding ^ binding, Uri ^ address, Uri ^ listenUri);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint(Type implementedContract, System.ServiceModel.Channels.Binding binding, Uri address, Uri listenUri);
override this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * Uri * Uri -> System.ServiceModel.Description.ServiceEndpoint
Public Function AddServiceEndpoint (implementedContract As Type, binding As Binding, address As Uri, listenUri As Uri) As ServiceEndpoint

Parameters

implementedContract
Type

Het Type contract voor het eindpunt toegevoegd.

binding
Binding

Het Binding voor het eindpunt is toegevoegd.

address
Uri

Het Uri adres dat het adres voor het eindpunt bevat dat is toegevoegd.

listenUri
Uri

De Uri service-eindpunten waarop de service-eindpunten kunnen luisteren.

Retouren

De ServiceEndpoint toegevoegde aan de werkstroomservice.

Uitzonderingen

implementedContract is null.

– of –

address is null.

De werkstroomservice implementeert niet implementedContract.

– of –

ServiceContractAttribute niet opgegeven voor implementedContract.

Van toepassing op