PrintWorkflowBackgroundSession.SetupRequested Ereignis

Definition

Wird zuerst in der Hintergrundsitzung des Druckworkflows ausgelöst. Dieses Ereignis macht Informationen zum Druckauftrag verfügbar, aber nicht zum Druckinhalt selbst. Registrieren Sie sich für dieses Ereignis, um vor dem Drucken Arbeiten an einer Druckauftragskonfiguration auszuführen.

// Register
event_token SetupRequested(TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowBackgroundSetupRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowBackgroundSession::SetupRequested_revoker SetupRequested(auto_revoke_t, TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowBackgroundSetupRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowBackgroundSession,PrintWorkflowBackgroundSetupRequestedEventArgs> SetupRequested;
function onSetupRequested(eventArgs) { /* Your code */ }
printWorkflowBackgroundSession.addEventListener("setuprequested", onSetupRequested);
printWorkflowBackgroundSession.removeEventListener("setuprequested", onSetupRequested);
- or -
printWorkflowBackgroundSession.onsetuprequested = onSetupRequested;
Public Custom Event SetupRequested As TypedEventHandler(Of PrintWorkflowBackgroundSession, PrintWorkflowBackgroundSetupRequestedEventArgs) 

Ereignistyp

Gilt für: