Verastream Host Integrator .Net Reference

HostIntegratorSession.WaitForString Method 

Waits for the presence of the specified string starting at the specified screen coordinates.

[Visual Basic]
Public Sub WaitForString( _
   ByVal _string As String, _
   ByVal rowNum As Integer, _
   ByVal columnNum As Integer, _
   ByVal timeout As Integer _
)
[C#]
public void WaitForString(
   string _string,
   int rowNum,
   int columnNum,
   int timeout
);

Parameters

_string
Specifies the string to wait for.
rowNum
Specifies the row where the string is to appear (use -1 to designate any row).
columnNum
Specifies the column where the string is to appear (use -1 to designate any column).
timeout
Specifies a timeout period (in seconds). An exception is thrown if the timeout period elapses before the specified string appears at the specified screen location.

Remarks

Waits for the presence of the specified string starting at the specified screen coordinates.

Exceptions

Exception TypeCondition
HostIntegratorServerExceptionThrown if the event times out
HostIntegratorConnectorExceptionThrown an argument is invalid
HostIntegratorConnectorExceptionThrown if client is not connected
HostIntegratorExceptionThrown if the connection is for metadata only

See Also

HostIntegratorSession Class | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace