ServiceHostBase.SetEndpointAddress(ServiceEndpoint, String) Methode

Definition

Legt die Endpunktadresse des angegebenen Endpunkts auf die angegebene Adresse fest.

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)

Parameter

endpoint
ServiceEndpoint

Der Dienstendpunkt.

relativeAddress
String

Die Endpunktadresse.

Gilt für