GameBarServicesManager.GameBarServicesCreated 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.
Occurs when the GameBarServices object is created.
// Register
event_token GameBarServicesCreated(TypedEventHandler<GameBarServicesManager, GameBarServicesManagerGameBarServicesCreatedEventArgs const&> const& handler) const;
// Revoke with event_token
void GameBarServicesCreated(event_token const* cookie) const;
// Revoke with event_revoker
GameBarServicesManager::GameBarServicesCreated_revoker GameBarServicesCreated(auto_revoke_t, TypedEventHandler<GameBarServicesManager, GameBarServicesManagerGameBarServicesCreatedEventArgs const&> const& handler) const;
public event TypedEventHandler<GameBarServicesManager,GameBarServicesManagerGameBarServicesCreatedEventArgs> GameBarServicesCreated;
function onGameBarServicesCreated(eventArgs) { /* Your code */ }
gameBarServicesManager.addEventListener("gamebarservicescreated", onGameBarServicesCreated);
gameBarServicesManager.removeEventListener("gamebarservicescreated", onGameBarServicesCreated);
- or -
gameBarServicesManager.ongamebarservicescreated = onGameBarServicesCreated;
Public Custom Event GameBarServicesCreated As TypedEventHandler(Of GameBarServicesManager, GameBarServicesManagerGameBarServicesCreatedEventArgs)
Event Type
Windows requirements
App capabilities |
gameBarServices
|