BackgroundTaskRegistration.Progress 이벤트

정의

진행률 이벤트 처리기를 등록된 백그라운드 작업에 연결합니다.

public:
 virtual event BackgroundTaskProgressEventHandler ^ Progress;
// Register
event_token Progress(BackgroundTaskProgressEventHandler const& handler) const;

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

// Revoke with event_revoker
BackgroundTaskRegistration::Progress_revoker Progress(auto_revoke_t, BackgroundTaskProgressEventHandler const& handler) const;
public event BackgroundTaskProgressEventHandler Progress;
function onProgress(eventArgs) { /* Your code */ }
backgroundTaskRegistration.addEventListener("progress", onProgress);
backgroundTaskRegistration.removeEventListener("progress", onProgress);
- or -
backgroundTaskRegistration.onprogress = onProgress;
Public Custom Event Progress As BackgroundTaskProgressEventHandler Implements Progress

이벤트 유형

구현

적용 대상