Condividi tramite


PrintWorkflowJobBackgroundSession.JobStarting Evento

Definizione

Generato quando un processo di stampa viene avviato da un'app del flusso di lavoro di stampa. L'app flusso di lavoro di stampa può usare i membri dell'oggetto args dell'evento per ignorare il rendering del sistema o modificare l'operazione in altri modi.

// Register
event_token JobStarting(TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowJobStartingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowJobBackgroundSession::JobStarting_revoker JobStarting(auto_revoke_t, TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowJobStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowJobBackgroundSession,PrintWorkflowJobStartingEventArgs> JobStarting;
function onJobStarting(eventArgs) { /* Your code */ }
printWorkflowJobBackgroundSession.addEventListener("jobstarting", onJobStarting);
printWorkflowJobBackgroundSession.removeEventListener("jobstarting", onJobStarting);
- or -
printWorkflowJobBackgroundSession.onjobstarting = onJobStarting;
Public Custom Event JobStarting As TypedEventHandler(Of PrintWorkflowJobBackgroundSession, PrintWorkflowJobStartingEventArgs) 

Tipo evento

Si applica a