AppResourceGroupInfoWatcher.ExecutionStateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event that fires when the execution state (running, suspending, an so on) for this group changes.
// 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)
Event Type
TypedEventHandler<AppResourceGroupInfoWatcher,AppResourceGroupInfoWatcherExecutionStateChangedEventArgs>
Windows requirements
App capabilities |
appDiagnostics
|