CryptographicException Constructor (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 CryptographicException class with the specified HRESULT error code.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- hr
- Type: System.Int32
The HRESULT error code.
The CryptographicException constructor accepts a system HRESULT error code and sets the Message property to a localized message that corresponds to the HRESULT.
The following table shows the initial property values for an instance of CryptographicException.
Property | Value |
|---|---|
Nothing. | |
The localized error message string. |