GeovisitMonitor.VisitStateChanged 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.
Raised when the user's current Visit state has changed, provided this GeovisitMonitor is currently monitoring.
// 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)
Event Type
Windows requirements
App capabilities |
location
|