Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.
This method will wait until the task has been aborted/ended.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void AbortWait() |
Visual Basic |
---|
Public Sub AbortWait |
Visual C++ |
---|
public: void AbortWait() |