Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft