ServiceConfiguration.AddServiceEndpoint ServiceConfiguration.AddServiceEndpoint ServiceConfiguration.AddServiceEndpoint ServiceConfiguration.AddServiceEndpoint Method

Definition

Adds a service endpoint to the service configuration.

Overloads

AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint)

Adds the specified service endpoint to the configuration service.

AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String)

Adds a service endpoint to the configuration service with a specified contract, binding, and endpoint address.

AddServiceEndpoint(Type, Binding, Uri) AddServiceEndpoint(Type, Binding, Uri) AddServiceEndpoint(Type, Binding, Uri)

Adds a service endpoint to the configuration service with a specified contract, binding, and URI that contains the endpoint address.

AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri)

Adds a service endpoint to the configuration service with a specified contract, binding, endpoint address and URI that contains the address at which it listens.

AddServiceEndpoint(Type, Binding, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri)

Adds a service endpoint to the configuration service with the specified contract, binding, and URIs that contain the endpoint and listening addresses.

AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint)

Adds the specified service endpoint to the configuration service.

public:
 void AddServiceEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public void AddServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);
member this.AddServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint -> unit
Public Sub AddServiceEndpoint (endpoint As ServiceEndpoint)

Parameters

AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String)

Adds a service endpoint to the configuration service with a specified contract, binding, and endpoint address.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ contractType, System::ServiceModel::Channels::Binding ^ binding, System::String ^ address);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint (Type contractType, System.ServiceModel.Channels.Binding binding, string address);
member this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.Description.ServiceEndpoint

Parameters

contractType
Type Type Type Type

The type of contract for the endpoint added.

binding
Binding Binding Binding Binding

The binding for the endpoint added.

address
String String String String

The address for the endpoint added.

Returns

The service endpoint added to the configuration service.

AddServiceEndpoint(Type, Binding, Uri) AddServiceEndpoint(Type, Binding, Uri) AddServiceEndpoint(Type, Binding, Uri)

Adds a service endpoint to the configuration service with a specified contract, binding, and URI that contains the endpoint address.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ contractType, System::ServiceModel::Channels::Binding ^ binding, Uri ^ address);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint (Type contractType, System.ServiceModel.Channels.Binding binding, Uri address);
member this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * Uri -> System.ServiceModel.Description.ServiceEndpoint

Parameters

contractType
Type Type Type Type

The type of contract for the endpoint added.

binding
Binding Binding Binding Binding

The binding for the endpoint added.

address
Uri Uri Uri Uri

The Uri that contains the address for the endpoint added.

Returns

The service endpoint added to the configuration service.

AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri)

Adds a service endpoint to the configuration service with a specified contract, binding, endpoint address and URI that contains the address at which it listens.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ contractType, System::ServiceModel::Channels::Binding ^ binding, System::String ^ address, Uri ^ listenUri);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint (Type contractType, System.ServiceModel.Channels.Binding binding, string address, Uri listenUri);
member this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * string * Uri -> System.ServiceModel.Description.ServiceEndpoint

Parameters

contractType
Type Type Type Type

The type of contract implemented by the endpoint.

binding
Binding Binding Binding Binding

The binding for the endpoint added.

address
String String String String

The address for the endpoint added.

listenUri
Uri Uri Uri Uri

The URI that contains the address which the endpoint listens for incoming messages.

Returns

The service endpoint added to the configuration service.

AddServiceEndpoint(Type, Binding, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri)

Adds a service endpoint to the configuration service with the specified contract, binding, and URIs that contain the endpoint and listening addresses.

public:
 System::ServiceModel::Description::ServiceEndpoint ^ AddServiceEndpoint(Type ^ contractType, System::ServiceModel::Channels::Binding ^ binding, Uri ^ address, Uri ^ listenUri);
public System.ServiceModel.Description.ServiceEndpoint AddServiceEndpoint (Type contractType, System.ServiceModel.Channels.Binding binding, Uri address, Uri listenUri);
member this.AddServiceEndpoint : Type * System.ServiceModel.Channels.Binding * Uri * Uri -> System.ServiceModel.Description.ServiceEndpoint

Parameters

contractType
Type Type Type Type

The type of contract implemented by the endpoint.

binding
Binding Binding Binding Binding

The binding for the endpoint added.

address
Uri Uri Uri Uri

The Uri that contains the address for the endpoint added.

listenUri
Uri Uri Uri Uri

The Uri that contains the address at which the endpoint listens for incoming messages.

Returns

The service endpoint added to the configuration service.

Applies to