다음을 통해 공유


PrintWorkflowBackgroundSession.SetupRequested 이벤트

정의

인쇄 워크플로 백그라운드 세션에서 먼저 발생합니다. 이 이벤트는 인쇄 작업에 대한 정보를 노출하지만 인쇄 콘텐츠 자체는 노출하지 않습니다. 인쇄하기 전에 인쇄 작업 구성에서 작업을 수행하려면 이 이벤트를 등록합니다.

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

이벤트 유형

적용 대상