PrintSystemException Constructor (Int32, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: