DbException Constructor (String, Int32)
[ 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 DbException class with the specified error message and error code.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- message
- Type: System.String
The message that describes the error.
- errorCode
- Type: System.Int32
The HRESULT of the error.
Show: