XboxLiveEndpointPair.StateChanged Evento
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Evento generado cuando cambia el estado de XboxLiveEndpointPair .
Importante
Esta API no está disponible para todas las aplicaciones. A menos que Microsoft aprovisione especialmente la cuenta de desarrollador, se producirá un error en las llamadas a estas API en tiempo de ejecución.
// Register
event_token StateChanged(TypedEventHandler<XboxLiveEndpointPair, XboxLiveEndpointPairStateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void StateChanged(event_token const* cookie) const;
// Revoke with event_revoker
XboxLiveEndpointPair::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<XboxLiveEndpointPair, XboxLiveEndpointPairStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<XboxLiveEndpointPair,XboxLiveEndpointPairStateChangedEventArgs> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
xboxLiveEndpointPair.addEventListener("statechanged", onStateChanged);
xboxLiveEndpointPair.removeEventListener("statechanged", onStateChanged);
- or -
xboxLiveEndpointPair.onstatechanged = onStateChanged;
Public Custom Event StateChanged As TypedEventHandler(Of XboxLiveEndpointPair, XboxLiveEndpointPairStateChangedEventArgs)