Uri Property
Collapse the table of content
Expand the table of content

EndpointAddress.Uri Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the URI for the endpoint.

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

'Declaration
Public ReadOnly Property Uri As Uri

Property Value

Type: System.Uri
The Uri for the endpoint.

The URI identifies where a message is being sent.


			' Get the URI from the endpoint address
			Dim endpointAddress1 As New EndpointAddress(New Uri("http://localhost/silverlightsamples/service1"))
			Dim endpointAddressUri As Uri = endpointAddress1.Uri


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft