GetCodeMessage Method

Summary
Gets the error string that corresponds to a specific PrinterDriverClientExceptionCode.
Syntax
C#
VB
C++
public static string GetCodeMessage( 
   PrinterDriverClientExceptionCode code 
) 
  
Public Shared Function GetCodeMessage( _ 
   ByVal code As PrinterDriverClientExceptionCode _ 
) As String 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.