ServiceEndpoint::Address Property

 

Gets or sets the endpoint address for the service endpoint.

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

public:
property EndpointAddress^ Address {
	EndpointAddress^ get();
	void set(EndpointAddress^ value);
}

Property Value

Type: System.ServiceModel::EndpointAddress^

The EndpointAddress that specifies the location of the service endpoint.

The default value of ListenUri at which the service endpoint listens is provided by Uri of the EndpointAddress returned by Address.

The following example shows how to add a ServiceEndpoint to an existing ServiceHost and display the address property:

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: