UpdateControllerDownloadUpdate Method |
Namespace: Kjs.AppLife.Update.Controller
Exception | Condition |
---|---|
InvalidOperationException | IsBusy is . -or- CurrentUpdate is . |
DownloadException | An error occurs while downloading the update. Check InnerException for the error that occurred. |
ObjectDisposedException | The UpdateController has been disposed. |
This method downloads the update represented by CurrentUpdate. To find an update to download, use CheckForUpdate, CheckForUpdateAsync, or ShowCheckForUpdateDialog. This method blocks while downloading the update. To download an update and continue executing while waiting for the download to complete, use DownloadUpdateAsync. To download the update using a default dialog, use ShowDownloadUpdateDialog.
If EnableAutoChaining is , this method downloads all updates in the chain.