Click or drag to resize
UpdateControllerDownloadUpdate Method
Downloads the update represented by CurrentUpdate, or, if EnableAutoChaining is , every update in the update chain.

Namespace: Kjs.AppLife.Update.Controller
Assembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntax
public void DownloadUpdate()
Exceptions
ExceptionCondition
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.

Remarks

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.

See Also