Condividi tramite


GeovisitMonitor.VisitStateChanged Evento

Definizione

Generato quando lo stato di visita corrente dell'utente è cambiato, a condizione che questo GeovisitMonitor sia attualmente monitorato.

// Register
event_token VisitStateChanged(TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void VisitStateChanged(event_token const* cookie) const;

// Revoke with event_revoker
GeovisitMonitor::VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, TypedEventHandler<GeovisitMonitor, GeovisitStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<GeovisitMonitor,GeovisitStateChangedEventArgs> VisitStateChanged;
function onVisitStateChanged(eventArgs) { /* Your code */ }
geovisitMonitor.addEventListener("visitstatechanged", onVisitStateChanged);
geovisitMonitor.removeEventListener("visitstatechanged", onVisitStateChanged);
- or -
geovisitMonitor.onvisitstatechanged = onVisitStateChanged;
Public Custom Event VisitStateChanged As TypedEventHandler(Of GeovisitMonitor, GeovisitStateChangedEventArgs) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
location

Si applica a