Visual Basic (Declaration) | |
---|---|
Overrides Public ReadOnly Property Message As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterException 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("").For an example, refer to RasterException
Overrides System.Exception.Message.
If this RasterException 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.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7