Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IppException

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
ac7e6e1bad8a with working tree changes
Base
IOException
Implements
ISerializable
Modifiers
sealed

An IPP printer could not be reached, returned a malformed or oversized response, or rejected the request.

Inheritance

  • IOException
  • IppException

Remarks

When IppException.StatusCode is set, the printer answered with that IPP status and did not accept the request. A failure after a Print-Job document started streaming is reported as PdfPrintDeliveryException instead.

Constructors

public IppException(string message, int? statusCode = null, Exception? innerException = null) #

Creates an IPP failure.

Parameters

message string required
statusCode int? = null optional
innerException System.Exception? = null optional

Properties

public int? StatusCode { get; } #

IPP status code returned by the printer (for example 0x040A, client-error-document-format-not-supported), or null when no valid response was received.