EndpointAddress.NoneUri Property

Gets a version-neutral URI used for the address of an endpoint to which a message must not be sent.

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

public static Uri NoneUri { get; }

Property Value

Type: System.Uri
A Uri with the value http://schemas.microsoft.com/2005/12/ServiceModel/Addressing/None.

If the value of the URI used to initialize the constructor is the NoneUri, then IsNone is set to true.

// Endpoint address with the none URI. 
Uri noneUri = EndpointAddress.NoneUri;
EndpointAddress noneUriEndpointAddress = new EndpointAddress(noneUri);

//Confirm the address is anonymous
bool boolNoneUri = noneUriEndpointAddress.IsNone;


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