Wait

Top  Previous  Next

General wait mechanism. This method basically waits until the mainframe application turns in an unlocked state and is able to receive input data.

 

VB.NET

 

[Boolean] = Screen.Wait([TimeOut] As Integer)

 

C#

 

[bool] = Screen.Wait(int [TimeOut])

 

 

Remarks

 

The Timeout parameter is optional and it is measured in milliseconds. This method returns True if the wait was successful and False if the timeout period has expired.

 

See also WaitForConnect, WaitForUnlock and WaitForNewScreen methods.