Udostępnij za pośrednictwem


PrintWorkflowJobTriggerDetails Class

Definition

Provides additional information associated with a print workflow job session that runs in the background.

public ref class PrintWorkflowJobTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintWorkflowJobTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowJobTriggerDetails
Public NotInheritable Class PrintWorkflowJobTriggerDetails
Inheritance
Object Platform::Object IInspectable PrintWorkflowJobTriggerDetails
Attributes

Windows requirements

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

Remarks

To create a print support workflow, your app must declare a uap4:Extension element with the category windows.printSupportWorkflow in its package manifest that specifies the entry point of a background task. When the background task is activated, the IBackgroundTask.Run method receives an IBackgroundTaskInstance object. You can cast the TriggerDetails property of this object to a PrintWorkflowJobTriggerDetails object to get more details about the print workflow job session.

For more information, see Print support app design guide.

Properties

PrintWorkflowJobSession

Gets info about the current session of the print workflow job.

Applies to

See also