Constructs the exception from a string message and another exception

Namespace: DidiSoft.Pgp.Exceptions
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public WrongPrivateKeyException(
	string message,
	Exception underlying
)
Visual Basic
Public Sub New ( _
	message As String, _
	underlying As Exception _
)
Visual C++
public:
WrongPrivateKeyException(
	String^ message, 
	Exception^ underlying
)

Parameters

message
Type: System..::..String
error description
underlying
Type: System..::..Exception
Wrapped underlying exception

See Also