PrintWorkflowConfiguration Class

Definition

Contains information about the source application, print job title, and session ID for a print workflow session.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintWorkflowConfiguration
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowConfiguration
Inheritance
Object PrintWorkflowConfiguration
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This class presents the same session-specific information to both the background and foreground components of a print workflow app.

Properties

JobTitle

Gets the job title for this print job.

SessionId

Gets the session ID for this print job.

SourceAppDisplayName

Gets the display name of the external application that initiated the print job.

Methods

AbortPrintFlow(PrintWorkflowJobAbortReason)

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

Applies to

Product Versions
WinRT Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100