Share via


PrintWorkflowJobBackgroundSession.JobStarting Evento

Definición

Se genera cuando una aplicación de flujo de trabajo de impresión inicia un trabajo de impresión. La aplicación de flujo de trabajo de impresión puede usar miembros del objeto args de eventos para omitir la representación del sistema o modificar la operación de otras maneras.

// 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 de evento

Se aplica a