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)
Syntax
Public Enumeration NetworkError
public enum NetworkError
<object property="enumerationValue" .../>
Members
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. |
Remarks
The default value is Success.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Net.NetworkInformation Namespace
Other Resources
Network and network interface information for Windows Phone 8