Click or drag to resize
UpdateActionCleanup Method
Performs any cleanup work needed by the UpdateAction after the target application has been completely updated.

Namespace: Kjs.AppLife.Update.Engine.Core
Assembly: Kjs.AppLife.Update.Engine.Core (in Kjs.AppLife.Update.Engine.Core.dll) Version: 1.0.0.12 (4.0.0.0)
Syntax
public virtual void Cleanup(
	UpdateContext context
)

Parameters

context
Type: Kjs.AppLife.Update.Engine.CoreUpdateContext
An UpdateContext representing the current state of the update process.
Remarks

Use 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