ServiceEndpoint::Address Property
.NET Framework (current version)
Gets or sets the endpoint address for the service endpoint.
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:
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
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
Show: