Condividi tramite


DeviceAccessInformation.AccessChanged Evento

Definizione

Generato quando l'accesso a un dispositivo è cambiato.

// Register
event_token AccessChanged(TypedEventHandler<DeviceAccessInformation, DeviceAccessChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
DeviceAccessInformation::AccessChanged_revoker AccessChanged(auto_revoke_t, TypedEventHandler<DeviceAccessInformation, DeviceAccessChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<DeviceAccessInformation,DeviceAccessChangedEventArgs> AccessChanged;
function onAccessChanged(eventArgs) { /* Your code */ }
deviceAccessInformation.addEventListener("accesschanged", onAccessChanged);
deviceAccessInformation.removeEventListener("accesschanged", onAccessChanged);
- or -
deviceAccessInformation.onaccesschanged = onAccessChanged;
Public Custom Event AccessChanged As TypedEventHandler(Of DeviceAccessInformation, DeviceAccessChangedEventArgs) 

Tipo evento

Si applica a