LEADTOOLS Virtual Printer (Leadtools.Printer.Client.Installer assembly)
LEAD Technologies, Inc

Message Property






Gets a message that describes the current exception.
Syntax
public override string Message {get;}
'Declaration
 
Public Overrides ReadOnly Property Message As String
'Usage
 
Dim instance As PrinterDriverClientException
Dim value As String
 
value = instance.Message
public override string Message {get;}
 get_Message(); 
public:
property String^ Message {
   String^ get() override;
}

Property Value

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

Overrides System.Exception.Message.

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

Get the error string that corresponds to any Code through the GetCodeMessage method.

Change the error string that corresponds to any Code through the SetCodeMessage method.

Example
Refer to SetPrinterConnectionDll example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PrinterDriverClientException Class
PrinterDriverClientException Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.