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 or the given timeout has been reached.

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

Syntax

C#
public void AbortWaitForSeconds(
	float seconds
)
Visual Basic
Public Sub AbortWaitForSeconds ( _
	seconds As Single _
)
Visual C++
public:
void AbortWaitForSeconds(
	float seconds
)

Parameters

seconds
Type: System..::..Single
Time in seconds this method will max wait.

See Also