The Message Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets a message that describes the current exception.Visual Basic (Declaration) | |
---|---|
Overrides Public ReadOnly Property Message As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PrinterDriverException Dim value As String value = instance.Message |
C# | |
---|---|
public override string Message {get;} |
Property Value
The error message that explains the reason for the exception, or an empty string("").Overrides System.Exception.Message.
If this PrinterDriverException instance was initialized with a specific Code but no specific message, then this property will return the default error string that corresponds to Code.
You can get the error string that corresponds to any Code through the GetCodeMessage method.
You can change the error string that corresponds to any Code through the SetCodeMessage method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7