Visual Basic (Declaration) | |
---|---|
Overrides Public ReadOnly Property Message As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public override string Message {get;} |
Return Value
The error message that explains the reason for the exception, or an empty string("").For an example, refer to RasterDocumentException
Overrides Message.
If this RasterDocumentException instance was initialized with a specific Code but no specific message, then this property will return the default error string that corresponds to Code.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family