共用方式為


PrintWorkflowBackgroundSession.Submitted 事件

定義

當最終的 XPS 列印資料可供使用時引發。 這會在 SetupRequested 事件和選擇性 UI 相依前景工作完成之後完成。

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

事件類型

適用於