다음을 통해 공유


AppResourceGroupInfoWatcher.Added 이벤트

정의

리소스 그룹이 추가되면 발생하는 이벤트입니다.

// Register
event_token Added(TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherEventArgs const&> const& handler) const;

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

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

이벤트 유형

Windows 요구 사항

앱 기능
appDiagnostics

적용 대상