GuidanceNavigator.UserLocationLost 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.
Terjadi ketika lokasi pengguna telah hilang.
Nota
API ini tidak tersedia untuk semua aplikasi Windows. Kecuali akun pengembang Anda disediakan secara khusus oleh Microsoft, panggilan ke API ini akan gagal pada runtime. Untuk informasi selengkapnya tentang namespace
// Register
event_token UserLocationLost(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
// Revoke with event_token
void UserLocationLost(event_token const* cookie) const;
// Revoke with event_revoker
GuidanceNavigator::UserLocationLost_revoker UserLocationLost(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> UserLocationLost;
function onUserLocationLost(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("userlocationlost", onUserLocationLost);
guidanceNavigator.removeEventListener("userlocationlost", onUserLocationLost);
- or -
guidanceNavigator.onuserlocationlost = onUserLocationLost;
Public Custom Event UserLocationLost As TypedEventHandler(Of GuidanceNavigator, Object)
Jenis Acara
TypedEventHandler<GuidanceNavigator,IInspectable>
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk