Export (0) Print
Expand All

ServiceHostBase.SetEndpointAddress Method

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

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void SetEndpointAddress(
	ServiceEndpoint endpoint,
	string relativeAddress
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

The service endpoint.

relativeAddress
Type: System.String

The endpoint address.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft