Share via


PrintWorkflowConfiguration Class

Definition

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

public ref class PrintWorkflowConfiguration sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintWorkflowConfiguration final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintWorkflowConfiguration final
[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
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowConfiguration
Public NotInheritable Class PrintWorkflowConfiguration
Inheritance
Object Platform::Object IInspectable 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