Notifies the UI that the update has finished and allows it to be closed.
Namespace: Kjs.AppLife.Update.Engine.CoreAssembly: Kjs.AppLife.Update.Engine.Core (in Kjs.AppLife.Update.Engine.Core.dll) Version: 1.0.0.12 (4.0.0.0)
Syntaxvoid Finish(
UpdateResult result,
string description,
Exception updateError
)
Sub Finish (
result As UpdateResult,
description As String,
updateError As Exception
)
void Finish(
UpdateResult result,
String^ description,
Exception^ updateError
)
abstract Finish :
result : UpdateResult *
description : string *
updateError : Exception -> unit
Parameters
- result
- Type: Kjs.AppLife.Update.Engine.CoreUpdateResult
The result of the update. - description
- Type: SystemString
A description of the result. - updateError
- Type: SystemException
If result is Fail, the error
that caused the update to fail.
Remarks
This method is called once the update process has finished, regardless of whether the update
succeeded or not. Once this method has been called, the UI can safely close, and AppLife Update
will not call any method other than Close (which will only be called if the
AutoClose option was specified in the UpdateController that started the update).
If Finish(UpdateResult, String, Exception) is called with result set to Fail,
the udpater will shut down after Finish(UpdateResult, String, Exception) returns.
See Also