Share via


AppDiagnosticInfoWatcher.Added 이벤트

정의

앱이 실행 중인 앱 목록에 추가되면 발생하는 이벤트입니다.

// Register
event_token Added(TypedEventHandler<AppDiagnosticInfoWatcher, AppDiagnosticInfoWatcherEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppDiagnosticInfoWatcher::Added_revoker Added(auto_revoke_t, TypedEventHandler<AppDiagnosticInfoWatcher, AppDiagnosticInfoWatcherEventArgs const&> const& handler) const;
public event TypedEventHandler<AppDiagnosticInfoWatcher,AppDiagnosticInfoWatcherEventArgs> Added;
function onAdded(eventArgs) { /* Your code */ }
appDiagnosticInfoWatcher.addEventListener("added", onAdded);
appDiagnosticInfoWatcher.removeEventListener("added", onAdded);
- or -
appDiagnosticInfoWatcher.onadded = onAdded;
Public Custom Event Added As TypedEventHandler(Of AppDiagnosticInfoWatcher, AppDiagnosticInfoWatcherEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
appDiagnostics

적용 대상