Gets a message that describes the current exception.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ErrorMessage As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterFault
Dim value As String
instance.ErrorMessage = value
value = instance.ErrorMessage
|
C# | |
---|
public string ErrorMessage {get; set;} |
Return Value
The error message that explains the reason for the exception, or an empty string("").
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also