Export (0) Print
Expand All

ServiceConfiguration.SetEndpointAddress Method

.NET Framework 4.6 and 4.5

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
Show:
© 2015 Microsoft