ServiceHostBase.SetEndpointAddress(ServiceEndpoint, String) Method

Definition

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

C#
public void SetEndpointAddress(System.ServiceModel.Description.ServiceEndpoint endpoint, string relativeAddress);

Parameters

endpoint
ServiceEndpoint

The service endpoint.

relativeAddress
String

The endpoint address.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1