DeviceAccessInformation.AccessChanged Kejadian

Definisi

Dimunculkan saat akses ke perangkat telah berubah.

// 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) 

Jenis Acara

Berlaku untuk