NetworkException Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the NetworkException class using the supplied network error.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- error
- Type: Microsoft.Phone.Net.NetworkInformation.NetworkError
The error code that indicates the error that occurred.
The NetworkException constructor sets the NetworkErrorCode property to error.
Show: