共用方式為


PrintSupportPrintTicketValidationRequestedEventArgs 類別

定義

提供 PrintTicketValidationRequested 事件的資訊。

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
繼承
Object Platform::Object IInspectable PrintSupportPrintTicketValidationRequestedEventArgs
屬性

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

屬性

PrintTicket

取得需要驗證的列印票證。 列印票證包含印表機如何針對列印工作設定其各種功能的指示。

方法

GetDeferral()

要求列印票證驗證作業延遲,並取得延遲物件,該物件會在延遲動作完成時叫用。

SetPrintTicketValidationStatus(WorkflowPrintTicketValidationStatus)

PrintTicketValidationRequested 事件處理常式呼叫這個方法,以指出列印票證是否已解決、發生衝突或無效。

適用於

另請參閱