다음을 통해 공유


PrintTask.Completed 이벤트

정의

인쇄 작업이 완료될 때 발생합니다.

// Register
event_token Completed(TypedEventHandler<PrintTask, PrintTaskCompletedEventArgs const&> const& handler) const;

// Revoke with event_token
void Completed(event_token const* cookie) const;

// Revoke with event_revoker
PrintTask::Completed_revoker Completed(auto_revoke_t, TypedEventHandler<PrintTask, PrintTaskCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintTask,PrintTaskCompletedEventArgs> Completed;
function onCompleted(eventArgs) { /* Your code */ }
printTask.addEventListener("completed", onCompleted);
printTask.removeEventListener("completed", onCompleted);
- or -
printTask.oncompleted = onCompleted;
Public Custom Event Completed As TypedEventHandler(Of PrintTask, PrintTaskCompletedEventArgs) 

이벤트 유형

적용 대상