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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft