This documentation is archived and is not being maintained.

CryptographicException Constructor

Initializes a new instance of the CryptographicException class.

Name Description
CryptographicException () Initializes a new instance of the CryptographicException class with default properties.

Supported by the .NET Compact Framework.

CryptographicException (Int32) Initializes a new instance of the CryptographicException class with the specified HRESULT error code.

Supported by the .NET Compact Framework.

CryptographicException (String) Initializes a new instance of the CryptographicException class with a specified error message.

Supported by the .NET Compact Framework.

CryptographicException (SerializationInfo, StreamingContext) Initializes a new instance of the CryptographicException class with serialized data.
CryptographicException (String, Exception) Initializes a new instance of the CryptographicException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

CryptographicException (String, String) Initializes a new instance of the CryptographicException class with a specified error message in the specified format.

Supported by the .NET Compact Framework.

Show: