PrinterDriverClientException Constructor(string,PrinterDriverClientExceptionCode)

Summary
Initializes a new instance of the PrinterDriverClientException class with its Message string set to message, its Code set to code and its inner exception set to a null reference (Nothing in VB).
Syntax
C#
VB
C++
  
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As PrinterDriverClientExceptionCode _ 
) 
public: 
PrinterDriverClientException(  
   String^ message, 
   PrinterDriverClientExceptionCode code 
) 

Parameters

message
A System.String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture

code
A PrinterDriverClientException that specifies what caused this exception.

Remarks

The constructor initializes the Message property of the new instance. It uses message and the Code property of the new instance.

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.