PrintWorkflowBackgroundSession.SetupRequested 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 first in the print workflow background session. This event exposes information about the print job but not the print content itself. Register for this event to do work on a print job configuration before printing.
// 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)
Event Type
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro