Share via


PrintSupportPrintTicketValidationRequestedEventArgs Class

Definition

Provides info for the PrintTicketValidationRequested event.

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

Windows requirements

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

Properties

PrintTicket

Gets the print ticket that needs to be validated. The print ticket contains instructions on how the printer should set its various features for a printing task.

Methods

GetDeferral()

Requests that the print ticket validation operation be delayed and gets a deferral object that will be invoked upon completion of the deferred action.

SetPrintTicketValidationStatus(WorkflowPrintTicketValidationStatus)

Call this method from your PrintTicketValidationRequested event handler to indicate whether the print ticket has been resolved, has conflicts, or is invalid.

Applies to

See also