IsAnonymous Property
Collapse the table of content
Expand the table of content

EndpointAddress.IsAnonymous 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 endpoint is anonymous.

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

'Declaration
Public ReadOnly Property IsAnonymous As Boolean

Property Value

Type: System.Boolean
true if the endpoint is AnonymousUri; otherwise, false.

Due to the range of network technologies currently in widespread use (for example, NAT, DHCP, and firewalls), many deployments cannot assign a meaningful global URI to a given endpoint. To allow these anonymous endpoints to initiate message exchange patterns and receive replies, the Web Services Addressing specification defines a URI for use by endpoints that cannot have a stable, resolvable URI.

Requests that use this address must provide some mechanism for delivering replies or faults (for example, returning the reply on the same transport connection). This mechanism can be a request/reply transport protocol (for example, HTTP GET or POST). This URI can be used as the destination for reply messages and should not be used as the destination in other circumstances.


			' Confirm endpoint address has an anonymous URI. 
			Dim anonEndpointAddress As New EndpointAddress(EndpointAddress.AnonymousUri)
			Dim boolAnonUri2 As Boolean = anonEndpointAddress.IsAnonymous


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft