PrintWorkflowJobBackgroundSession.JobStarting Événement

Définition

Déclenché lorsqu’un travail d’impression est démarré par une application de flux de travail d’impression. Votre application de flux de travail d’impression peut utiliser des membres de l’objet event args pour ignorer le rendu du système ou modifier l’opération d’autres manières.

// 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) 

Type d'événement

S’applique à