PrintJobException Constructor (Int32, String, Exception)

 
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 PrintJobException class that provides a specific error code and error condition, including the underlying cause of the exception.

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

public PrintJobException(
	int errorCode,
	string message,
	Exception innerException
)

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.

innerException
Type: System.Exception

The underlying error that caused the PrintJobException.

.NET Framework
Available since 3.0
Return to top
Show: