GameBarServices.CommandReceived Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Ocorre quando um comando da Barra de Jogos é recebido.
// Register
event_token CommandReceived(TypedEventHandler<GameBarServices, GameBarServicesCommandEventArgs const&> const& handler) const;
// Revoke with event_token
void CommandReceived(event_token const* cookie) const;
// Revoke with event_revoker
GameBarServices::CommandReceived_revoker CommandReceived(auto_revoke_t, TypedEventHandler<GameBarServices, GameBarServicesCommandEventArgs const&> const& handler) const;
public event TypedEventHandler<GameBarServices,GameBarServicesCommandEventArgs> CommandReceived;
function onCommandReceived(eventArgs) { /* Your code */ }
gameBarServices.addEventListener("commandreceived", onCommandReceived);
gameBarServices.removeEventListener("commandreceived", onCommandReceived);
- or -
gameBarServices.oncommandreceived = onCommandReceived;
Public Custom Event CommandReceived As TypedEventHandler(Of GameBarServices, GameBarServicesCommandEventArgs)
Tipo de evento
Requisitos do Windows
Funcionalidades do aplicativo |
gameBarServices
|