Bagikan melalui


SystemSetupInfo.OutOfBoxExperienceStateChanged Kejadian

Definisi

Muncul ketika tahap saat ini dalam siklus hidup Out-of-Box Experience (OOBE) berubah.

// Register
static event_token OutOfBoxExperienceStateChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void OutOfBoxExperienceStateChanged(event_token const* cookie) const;

// Revoke with event_revoker
static SystemSetupInfo::OutOfBoxExperienceStateChanged_revoker OutOfBoxExperienceStateChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> OutOfBoxExperienceStateChanged;
function onOutOfBoxExperienceStateChanged(eventArgs) { /* Your code */ }
Windows.System.Profile.SystemSetupInfo.addEventListener("outofboxexperiencestatechanged", onOutOfBoxExperienceStateChanged);
Windows.System.Profile.SystemSetupInfo.removeEventListener("outofboxexperiencestatechanged", onOutOfBoxExperienceStateChanged);
- or -
Windows.System.Profile.SystemSetupInfo.onoutofboxexperiencestatechanged = onOutOfBoxExperienceStateChanged;
Public Shared Custom Event OutOfBoxExperienceStateChanged As EventHandler(Of Object) 

Jenis Acara

Contoh

Lihat SystemSetupInfo.

Keterangan

Pelanggan dijamin bahwa acara akan dinaikkan setidaknya satu kali, pada saat pendaftaran, bahkan jika status OOBE tidak pernah berubah. Ini mengaburkan jendela waktu di mana peristiwa dapat hilang antara status kueri dan mendaftar untuk perubahan status.

Berlaku untuk

Lihat juga