NetworkErrorCode Property
Collapse the table of content
Expand the table of content

NetworkException.NetworkErrorCode Property

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

Gets the error code that is associated with this exception.

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

public NetworkError NetworkErrorCode { get; }

Property Value

Type: Microsoft.Phone.Net.NetworkInformation.NetworkError
One of the enumeration values that specifies the type of error that occurred.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft