EndpointAddress.Uri Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets the URI for the endpoint.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public ReadOnly Property Uri As Uri
public Uri Uri { get; }
Property Value
Type: System.Uri
The Uri for the endpoint.
Remarks
The URI identifies where a message is being sent.
Examples
' Get the URI from the endpoint address
Dim endpointAddress1 As New EndpointAddress(New Uri("https://localhost/silverlightsamples/service1"))
Dim endpointAddressUri As Uri = endpointAddress1.Uri
// Get the URI from the endpoint address
EndpointAddress endpointAddress1 = new EndpointAddress(
new Uri("https://localhost/silverlightsamples/service1")
);
Uri endpointAddressUri = endpointAddress1.Uri;
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.