AppResourceGroupInfoWatcher.ExecutionStateChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當執行狀態 (執行、暫停時引發的事件,因此此群組) 變更。
// Register
event_token ExecutionStateChanged(TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void ExecutionStateChanged(event_token const* cookie) const;
// Revoke with event_revoker
AppResourceGroupInfoWatcher::ExecutionStateChanged_revoker ExecutionStateChanged(auto_revoke_t, TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppResourceGroupInfoWatcher,AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> ExecutionStateChanged;
function onExecutionStateChanged(eventArgs) { /* Your code */ }
appResourceGroupInfoWatcher.addEventListener("executionstatechanged", onExecutionStateChanged);
appResourceGroupInfoWatcher.removeEventListener("executionstatechanged", onExecutionStateChanged);
- or -
appResourceGroupInfoWatcher.onexecutionstatechanged = onExecutionStateChanged;
Public Custom Event ExecutionStateChanged As TypedEventHandler(Of AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs)
事件類型
TypedEventHandler<AppResourceGroupInfoWatcher,AppResourceGroupInfoWatcherExecutionStateChangedEventArgs>
Windows 需求
應用程式功能 |
appDiagnostics
|