Modifier

Partager via


ServiceHostBase.SetEndpointAddress(ServiceEndpoint, String) Method

Definition

Sets the endpoint address of the specified endpoint to the specified address.

public:
 void SetEndpointAddress(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::String ^ relativeAddress);
public void SetEndpointAddress (System.ServiceModel.Description.ServiceEndpoint endpoint, string relativeAddress);
member this.SetEndpointAddress : System.ServiceModel.Description.ServiceEndpoint * string -> unit
Public Sub SetEndpointAddress (endpoint As ServiceEndpoint, relativeAddress As String)

Parameters

endpoint
ServiceEndpoint

The service endpoint.

relativeAddress
String

The endpoint address.

Applies to