Click or drag to resize

CheckPointTaskWaitAsync Method

Asynchronous wait call, that will complete once the test status is no longer In Progress.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public Task<bool> WaitAsync(
	int delay = 1000,
	CancellationToken cancellationToken = null,
	IProgress<int> progress = null
)
Request Example View Source

Parameters

delay (Optional)
Type: SystemInt32
The delay between checking current task status.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token, to stop waiting when triggered.
progress (Optional)
Type: SystemIProgressInt32
To track progress.

Return Value

Type: TaskBoolean
true if task completed successfully; otherwise false if task failed
See Also