Click or drag to resize

OhioScreenWaitForCursorAsync Method

Waits for the cursor to appear at the position.

Namespace: Flex.Hal.Ohio
Assembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax
public Task<bool> WaitForCursorAsync(
	int pos,
	CancellationToken canceltoken = default
)

Parameters

pos  Int32
Position to wait for.
canceltoken  CancellationToken  (Optional)
Token to cancel the wait.

Return Value

TaskBoolean
True if the cursor appears at the position before a time-out or cancellation; otherwise, false.
Exceptions
ExceptionCondition
TimeoutExceptionWaitThrowException is enabled and a time-out occurs.
OperationCanceledExceptionWaitThrowException is enabled and a cancellation occurs.
See Also