This documentation is archived and is not being maintained.
CryptographicException Constructor (String, String)
.NET Framework 1.1
Initializes a new instance of the CryptographicException class with a specified error message in the specified format.
[Visual Basic] Public Sub New( _ ByVal format As String, _ ByVal insert As String _ ) [C#] public CryptographicException( string format, string insert ); [C++] public: CryptographicException( String* format, String* insert ); [JScript] public function CryptographicException( format : String, insert : String );
Parameters
- format
- The format used to output the error message.
- insert
- The error message that explains the reason for the exception.
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 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: