Initializes a new instance of the
DocumentException class with a specified error message and
a reference to the inner exception that is the cause of this exception.
Namespace: Arctorus.DocumentsAssembly: Arctorus.Documents (in Arctorus.Documents.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public DocumentException(
string message,
Exception exception
) |
Visual Basic |
---|
Public Sub New ( _
message As String, _
exception As Exception _
) |
Visual C++ |
---|
public:
DocumentException(
String^ message,
Exception^ exception
) |
Parameters
- message
- Type: System..::..String
The message that describes the error.
- exception
- Type: System..::..Exception
The exception that is the cause of the current exception,
or a null reference if no inner exception is specified.
See Also