AsyncTaskBaseCancel Method

Cancels the task, setting the IsCanceled property to .

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public virtual void Cancel()

Remarks

  Notes to Callers

Note that this method does not complete the task, it only sets the cancellation state. An override implementation may call the SetCompleted method though, when the task is actually completed.

See Also