Dela via


PrintWorkflowJobAbortReason Enum

Definition

Contains values that indicate why a print workflow was canceled by using the AbortPrintFlow method.

public enum class PrintWorkflowJobAbortReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
enum class PrintWorkflowJobAbortReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
public enum PrintWorkflowJobAbortReason
var value = Windows.Graphics.Printing.Workflow.PrintWorkflowJobAbortReason.jobFailed
Public Enum PrintWorkflowJobAbortReason
Inheritance
PrintWorkflowJobAbortReason
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Fields

Name Value Description
JobFailed 0

The print job failed.

UserCanceled 1

The user canceled the print job.

Applies to

See also