Click or drag to resize
IUpdateUI Events

The IUpdateUI type exposes the following members.

Events
  NameDescription
Public eventClosed
Raised when the UI has been closed. This event must be raised in order for the AppLife updater to shut down.
Public eventRequestCancel

Raised when the user tries to cancel the update. The update will not be cancelled immediately; once it is cancelled, Finish(UpdateResult, String, Exception) will be called with its result parameter set to Cancelled.

If the update was nearly finished when RequestCancel was raised, the update may finish anyway and not be canceled.

Public eventRequestPause

Raised when the update should be paused. The udpate will not be paused immediately; once it is paused, Update(UpdateUIState, UpdateState, String, Int32, Int32) will be called with its uiState parameter set to Paused.

If the update was nearly finished when RequestPause was raised, the update may simply finish and not be paused.

Public eventRequestResume

Raised when a paused update should be resumed. The udpate may not be resumed immediately; once it is resumed, Update(UpdateUIState, UpdateState, String, Int32, Int32) will be called with its uiState parameter set to Updating.

If the update was nearly finished when RequestPause was raised, the update may simply finish and not be paused.

Top
See Also