Share via


PrintSupportExtensionSession.PrintTicketValidationRequested 이벤트

정의

시스템에서 인쇄 티켓의 유효성을 검사해야 할 때 발생합니다.

// Register
event_token PrintTicketValidationRequested(TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintTicketValidationRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void PrintTicketValidationRequested(event_token const* cookie) const;

// Revoke with event_revoker
PrintSupportExtensionSession::PrintTicketValidationRequested_revoker PrintTicketValidationRequested(auto_revoke_t, TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintTicketValidationRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintSupportExtensionSession,PrintSupportPrintTicketValidationRequestedEventArgs> PrintTicketValidationRequested;
function onPrintTicketValidationRequested(eventArgs) { /* Your code */ }
printSupportExtensionSession.addEventListener("printticketvalidationrequested", onPrintTicketValidationRequested);
printSupportExtensionSession.removeEventListener("printticketvalidationrequested", onPrintTicketValidationRequested);
- or -
printSupportExtensionSession.onprintticketvalidationrequested = onPrintTicketValidationRequested;
Public Custom Event PrintTicketValidationRequested As TypedEventHandler(Of PrintSupportExtensionSession, PrintSupportPrintTicketValidationRequestedEventArgs) 

이벤트 유형

설명

이 이벤트는 인쇄 작업 중에 언제든지 발생할 수 있습니다. 코드에서 인쇄 티켓의 유효성을 검사한 후 SetPrintTicketValidationStatus 를 호출하여 인쇄 티켓이 해결되었는지, 충돌이 있는지 또는 유효하지 않은지 여부를 나타냅니다.

적용 대상