PrinterDriverClientException Class

Summary

Represents the exception that is thrown when a printing error occurs.

Syntax
C#
VB
C++
[SerializableAttribute()] 
public class PrinterDriverClientException : Exception 
  
<SerializableAttribute()> 
Public Class PrinterDriverClientException  
   Inherits System.Exception 
[SerializableAttribute()] 
public ref class PrinterDriverClientException : public System.Exception  

Remarks

The PrinterDriverClientException class defines a Code property that is helpful to determine the cause of an error.

Default messages are implemented for each Code, you can however modify any message through the GetCodeMessage and SetCodeMessage methods.

Example

Refer to PrinterInstaller.SetPrinterConnectionDll example.

Requirements

Target Platforms

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