IsNone Property
Collapse the table of content
Expand the table of content

EndpointAddress.IsNone Property

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

Gets a value that indicates whether the URI for the endpoint is the NoneUri.

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

'Declaration
Public ReadOnly Property IsNone As Boolean

Property Value

Type: System.Boolean
true if the URI of the endpoint is NoneUri; otherwise, false.


			' Endpoint address with the none URI. 
			Dim noneUri As Uri = EndpointAddress.NoneUri
			Dim noneUriEndpointAddress As New EndpointAddress(noneUri)

			'Confirm the address is anonymous
			Dim boolNoneUri As Boolean = noneUriEndpointAddress.IsNone


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft