Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.

Namespace: UnityThreading
Assembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Abort()
Visual Basic
Public Sub Abort
Visual C++
public:
void Abort()

See Also