PrintWorkflowBackgroundSession.Submitted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)