Export (0) Print
Expand All

EndpointAddress.Uri Property

Gets the URI for the endpoint.

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

public Uri Uri { get; }

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
EndpointAddress endpointAddress1 = new EndpointAddress(
    new Uri("http://localhost/silverlightsamples/service1")
    );
Uri endpointAddressUri = endpointAddress1.Uri;


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

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft