PrintWorkflowBackgroundSetupRequestedEventArgs Classe

Définition

Contient des informations sur un événement PrintWorkflowBackgroundSession.SetupRequested qui a été déclenché.

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
Héritage
Object Platform::Object IInspectable PrintWorkflowBackgroundSetupRequestedEventArgs
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Fall Creators Update (introduit dans 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v5.0)

Propriétés

Configuration

Obtient des informations sur l’application source, le titre du travail d’impression et l’ID de session pour cette session de flux de travail d’impression.

Méthodes

GetDeferral()

Obtient un objet de report pour la gestion du travail effectué sur l’événement PrintWorkflowBackgroundSession.SetupRequested correspondant.

GetUserPrintTicketAsync()

Obtient le ticket d’impression pour la tâche d’impression active.

SetRequiresUI()

Inscrit cette session de flux de travail d’impression comme nécessitant une interface utilisateur. Cela entraîne l’activation de la tâche de premier plan correspondante avant que l’événement PrintWorkflowBackgroundSession.Submitted ne soit déclenché par la tâche en arrière-plan.

S’applique à