Click or drag to resize
UpdateControllerCancelAsync Method

Namespace: Kjs.AppLife.Update.Controller
Assembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntax
public void CancelAsync()
Remarks

When you call CancelAsync, your application still receives the completion event associated with the operation. For example, when you call CancelAsync to cancel a DownloadUpdateAsync operation, if you have specified an event handler for the DownloadUpdateCompleted event, your event handler receives notification that the operation has ended. To learn whether the operation completed successfully, check the Cancelled property on the AsyncCompletedEventArgs in the event data object passed to the event handler.

If no asynchronous operation is in progress, this method does nothing.

See Also