This topic has not yet been rated - Rate this topic

NetworkError Enumeration

Windows Phone

March 22, 2012

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)
public enum NetworkError
<object property="enumerationValue" .../>
Member name Description
Success The network operation succeeded.
NetworkSelectionRequirementFailed The network selection failed. A network with the specified requirements was not available.
NetworkSelectionPreferencesFailed The network selection failed. A network with the specified preferences was not available.
NameResolutionNoHostAddresses The name resolution failed. The host address was incorrect or missing.
NetworkNotificationRegistrationFailed The network notification registration failed.
SocketAlreadyBound The network connection failed. The socket is already bound.
SocketNotConnected The network connection failed. The socket is not connected.
NetworkOperationFailedError The network operation failed.
WebRequestAlreadyFinished The Web request is already finished.
NameResolutionOperationAborted The name resolution failed. The operation was aborted.

The default value is Success.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)