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

GetCodeMessage Method






A PrinterDriverClientExceptionCode value to get the string message for.
Gets the error string that corresponds to a specific PrinterDriverClientExceptionCode.
Syntax
public static string GetCodeMessage( 
   PrinterDriverClientExceptionCode code
)
'Declaration
 
Public Shared Function GetCodeMessage( _
   ByVal code As PrinterDriverClientExceptionCode _
) As String
'Usage
 
Dim code As PrinterDriverClientExceptionCode
Dim value As String
 
value = PrinterDriverClientException.GetCodeMessage(code)
public static string GetCodeMessage( 
   PrinterDriverClientExceptionCode code
)
 function Leadtools.Printer.Client.Installer.PrinterDriverClientException.GetCodeMessage( 
   code 
)
public:
static String^ GetCodeMessage( 
   PrinterDriverClientExceptionCode code
) 

Parameters

code
A PrinterDriverClientExceptionCode value to get the string message for.

Return Value

A System.String that corresponds to the specified PrinterDriverClientExceptionCode.
Remarks
By default, PrinterDriverClientException has a string message for each PrinterDriverClientExceptionCode. Get this message by calling this method. Additionally, any string message for any PrinterDriverClientExceptionCode can be changed by using the SetCodeMessage method.
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.