Leadtools.Printer Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Message Property
See Also 
Leadtools.Printer Namespace > PrinterDriverException Class : Message Property



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 PrinterDriverException
Dim value As String
 
value = instance.Message
C# 
public override string Message {get;}
C++/CLI 
public:
property String^ Message override {
   String^ get();
}

Return Value

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

Example

For an example, refer to Install

Remarks

Overrides 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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features