Class
PrintingException

Thrown when an error occurs during worksheet printing operations, such as invalid page setup or margin configuration.

Definition

Constructors

PrintingException()

Initializes a new instance of the PrintingException class with a default message.

Declaration

cs-api-definition
public PrintingException()

PrintingException(string)

Initializes a new instance of the PrintingException class with a specified error message.

Declaration

cs-api-definition
public PrintingException(string message)

Parameters

message

string

The message.

PrintingException(string, Exception)

Initializes a new instance of the PrintingException class with a specified error message and a reference to the inner exception.

Declaration

cs-api-definition
public PrintingException(string message, Exception innerException)

Parameters

message

string

The message.

innerException

Exception

The inner exception.

PrintingException(string, Exception, string)

Initializes a new instance of the PrintingException class with a specified error message, a reference to the inner exception, and localization key.

Declaration

cs-api-definition
public PrintingException(string message, Exception innerException, string key)

Parameters

message

string

The message.

innerException

Exception

The inner exception.

key

string

The key.

PrintingException(string, string)

Initializes a new instance of the PrintingException class with a specified error message and localization key.

Declaration

cs-api-definition
public PrintingException(string message, string key)

Parameters

message

string

The message.

key

string

The key.