UpdateControllerVersion Property |
Namespace: Kjs.AppLife.Update.Controller
Exception | Condition |
---|---|
InvalidOperationException | The property is set and IsBusy is . |
ArgumentNullException | value is . |
Each published update has a list of versions that it can be applied to. When the UpdateController checks for an available update, it compares the value of Version to each update's list and only allows updates that apply to Version.
When UseHostAssemblyVersion is , this property will always return the version of the assembly returned by Assembly.GetEntryAssembly.
When Version changes, the list of available updates returned by AvailableUpdates is recreated to match the new version and CurrentUpdate is set to . If EnableAutoChaining is , this will disable updating until the next update check.