Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CryptographicException Constructor (Int32)

.NET Framework 1.1

Initializes a new instance of the CryptographicException class with the specified error code.

[Visual Basic]
Public Sub New( _
   ByVal hr As Integer _
)
[C#]
public CryptographicException(
   int hr
);
[C++]
public: CryptographicException(
   int hr
);
[JScript]
public function CryptographicException(
   hr : int
);

Parameters

hr
The error code.

Remarks

The following table shows the initial property values for an instance of CryptographicException.

Property Value
InnerException A null reference (Nothing in Visual Basic).
Message The localized error message string.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CryptographicException Class | CryptographicException Members | System.Security.Cryptography Namespace | CryptographicException Constructor Overload List

Show:
© 2015 Microsoft