ServiceHostBase::SetEndpointAddress Method (ServiceEndpoint^, String^)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show: