PrintWorkflowBackgroundSession.Submitted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當最終的 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)