Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrintServerException Constructor (Int32, String, String, Exception)

Initializes a new instance of the PrintServerException class that provides a specific print server name, error code, and error condition, including the underlying cause of the exception.

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

public PrintServerException(
	int errorCode,
	string message,
	string serverName,
	Exception innerException


Type: System.Int32

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

Type: System.String

A String that describes the error condition.

Type: System.String

The name of the print server that was being accessed when the error condition occurred.

Type: System.Exception

The underlying condition that caused the PrintServerException.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft