Share via


PrintWorkflowBackgroundSession.Submitted Event

Definition

Raised when the final XPS print data has become available. This is done after the SetupRequested event and after the optional UI-dependent foreground task is completed.

// Register
event_token Submitted(TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowSubmittedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowBackgroundSession::Submitted_revoker Submitted(auto_revoke_t, TypedEventHandler<PrintWorkflowBackgroundSession, PrintWorkflowSubmittedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowBackgroundSession,PrintWorkflowSubmittedEventArgs> Submitted;
function onSubmitted(eventArgs) { /* Your code */ }
printWorkflowBackgroundSession.addEventListener("submitted", onSubmitted);
printWorkflowBackgroundSession.removeEventListener("submitted", onSubmitted);
- or -
printWorkflowBackgroundSession.onsubmitted = onSubmitted;
Public Custom Event Submitted As TypedEventHandler(Of PrintWorkflowBackgroundSession, PrintWorkflowSubmittedEventArgs) 

Event Type

Applies to