Click or drag to resize

OhioScreenWaitForStrRecvAsync Method

Waits for text to be received from the host.

Namespace:  Flex.Hal.Ohio
Assembly:  Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax
public Task<bool> WaitForStrRecvAsync(
	string text,
	int msec,
	CancellationToken canceltoken
)

Parameters

text
Type: SystemString
Text to wait for.
msec
Type: SystemInt32
The length of time to wait in milliseconds before a time-out occurs.
canceltoken
Type: System.ThreadingCancellationToken
Token to cancel the wait.

Return Value

Type: TaskBoolean
True if text is received before a time out or cancellation; otherwise, false.
See Also