OhioScreenWaitForNoXAsync Method |
Waits for the X () or X SYSTEM to be removed from the OIA line.
Namespace:
Flex.Hal.Ohio
Assembly:
Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax public Task<bool> WaitForNoXAsync(
int msec,
CancellationToken canceltoken
)
Public Function WaitForNoXAsync (
msec As Integer,
canceltoken As CancellationToken
) As Task(Of Boolean)
Parameters
- 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:
TaskBooleanTrue if X condition is removed from the OIA line before a time out or
cancellation; otherwise, false.
See Also