NetworkError Enumeration

NetworkError Enumeration

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

Describes the status of a network operation, such as trying to connect to a network interface.

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

No code example is currently available or this language may not be supported.
<object property="enumerationValue" .../>

Member nameDescription
SuccessThe network operation succeeded.
NetworkSelectionRequirementFailedThe network selection failed. A network with the specified requirements was not available.
NetworkSelectionPreferencesFailedThe network selection failed. A network with the specified preferences was not available.
NameResolutionNoHostAddressesThe name resolution failed. The host address was incorrect or missing.
NetworkNotificationRegistrationFailedThe network notification registration failed.
SocketAlreadyBoundThe network connection failed. The socket is already bound.
SocketNotConnectedThe network connection failed. The socket is not connected.
NetworkOperationFailedErrorThe network operation failed.
WebRequestAlreadyFinishedThe Web request is already finished.
NameResolutionOperationAbortedThe name resolution failed. The operation was aborted.

The default value is Success.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft