UpdateActionCleanup Method |
Performs any cleanup work needed by the
UpdateAction after the target
application has been completely updated.
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)
Syntaxpublic virtual void Cleanup(
UpdateContext context
)
Public Overridable Sub Cleanup (
context As UpdateContext
)
public:
virtual void Cleanup(
UpdateContext context
)
abstract Cleanup :
context : UpdateContext -> unit
override Cleanup :
context : UpdateContext -> unit
Parameters
- context
- Type: Kjs.AppLife.Update.Engine.CoreUpdateContext
An UpdateContext representing the current state
of the update process.
RemarksUse context to obtain information about the update and log
the action's effects. See UpdateContext for more information.
You can call the OnProgressChanged(UpdateProgressChangedEventArgs) method to report progress
from 0 to 100 percent during the course of Cleanup(UpdateContext).
Cleanup(UpdateContext) should not contain any essential work, as it may not be called
and an error will not cause the update to roll back or terminate.
See Also