PrintSystemException Constructor (Int32, String^, String^)

 

Initializes a new instance of the PrintSystemException class that provides a specific error code, error message, and printer message.

Namespace:   System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)

public:
PrintSystemException(
	int errorCode,
	String^ message,
	String^ printerMessage
)

Parameters

errorCode
Type: System::Int32

An Int32 that is interpreted as an HRESULT, a coded numerical value that is assigned to a specific exception.

message
Type: System::String^

A string that describes the error condition.

printerMessage
Type: System::String^

The exception message sent by the printer driver or unmanaged print system component that caused the exception.

.NET Framework
Available since 3.0
Return to top
Show: