Dela via


PrintWorkflowConfiguration.AbortPrintFlow(PrintWorkflowJobAbortReason) Method

Definition

Cancels the current print workflow with the specified reason. This method also cancels the corresponding print job in the print device, if already created.

public:
 virtual void AbortPrintFlow(PrintWorkflowJobAbortReason reason) = AbortPrintFlow;
void AbortPrintFlow(PrintWorkflowJobAbortReason const& reason);
public void AbortPrintFlow(PrintWorkflowJobAbortReason reason);
function abortPrintFlow(reason)
Public Sub AbortPrintFlow (reason As PrintWorkflowJobAbortReason)

Parameters

reason
PrintWorkflowJobAbortReason

The reason for canceling the print workflow.

Windows requirements

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

Applies to