GeovisitMonitor.VisitStateChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Muncul ketika status Kunjungan pengguna saat ini telah berubah, asalkan GeovisitMonitor ini sedang memantau.
// 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)
Jenis Acara
Persyaratan Windows
Kemampuan aplikasi |
location
|