UpdateDisplayEnableAutoChaining Property |
Namespace: Kjs.AppLife.Update.Wpf
if the UpdateController will automatically find all possible updates in sequence; if the UpdateController will only find one update at once.
The default value is .
Exception | Condition |
---|---|
InvalidOperationException | The property is set and UpdateController.IsBusy is . |
When EnableAutoChaining is and the UpdateController finds an update, it automatically looks for an update to the update is just found. The UpdateController continues looking until it cannot find any more updates, or it reaches an update that explicitly prevents chaining. Every update in the chain is then downloaded before any are applied, and all updates are applied in a row without restarting the application.
When EnableAutoChaining changes, the list of available updates returned by UpdateController.AvailableUpdates is reset and CurrentUpdate is set to . If EnableAutoChaining is , this will disable updating until the next update check.