Share via


PrintWorkflowBackgroundSetupRequestedEventArgs Class

Definition

Contains information about a PrintWorkflowBackgroundSession.SetupRequested event that was raised.

public ref class PrintWorkflowBackgroundSetupRequestedEventArgs 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 PrintWorkflowBackgroundSetupRequestedEventArgs 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 PrintWorkflowBackgroundSetupRequestedEventArgs
Public NotInheritable Class PrintWorkflowBackgroundSetupRequestedEventArgs
Inheritance
Object Platform::Object IInspectable PrintWorkflowBackgroundSetupRequestedEventArgs
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)

Properties

Configuration

Gets information about the source application, print job title, and session ID for this print workflow session.

Methods

GetDeferral()

Gets a deferral object for managing the work done on the corresponding PrintWorkflowBackgroundSession.SetupRequested event.

GetUserPrintTicketAsync()

Gets the print ticket for the current print task.

SetRequiresUI()

Registers this print workflow session as requiring a UI. This will cause the corresponding foreground task to be activated before the PrintWorkflowBackgroundSession.Submitted event is raised by the background task.

Applies to