LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Message Property
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureException Class : Message Property



(Read only) Gets a message that describes the current exception.

Syntax

Visual Basic (Declaration) 
Overrides Public ReadOnly Property Message As String
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureException
Dim value As String
 
value = instance.Message
C# 
public override string Message {get;}
C++/CLI 
public:
property String^ Message override {
   String^ get();
}

Property Value

The error message that explains the reason for the exception, or an empty string("").

Example

Remarks

If this Leadtools.ScreenCapture.ScreenCaptureException instance was initialized with a specific Code but no specific message, then this property will return the default error string that corresponds to Code.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also