UpdateControllerEnableOfflineUpdates Property |
Namespace: Kjs.AppLife.Update.Controller
The default value is .
Exception | Condition |
---|---|
InvalidOperationException | The property is set and IsBusy is . |
When EnableOfflineUpdates is , any previously downloaded updates can be immediatly applied. The CurrentUpdate property will be automatically initialized, and ApplyUpdate can be called without checking for updates first.
When EnableOfflineUpdates changes, the local cache is checked and the UpdateController is prepared. If a cached update is present, the UpdateFound event is raised and the CurrentUpdate property will indicate the update that is ready to be applied.