다음을 통해 공유


DeviceAccessInformation.AccessChanged 이벤트

정의

디바이스에 대한 액세스가 변경되었을 때 발생합니다.

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

이벤트 유형

적용 대상