Waits for the given timeout till the provided number of agents are up.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
bool WaitFor( int numberOfAgents, TimeSpan timeout )
Function WaitFor ( _ numberOfAgents As Integer, _ timeout As TimeSpan _ ) As Boolean
bool WaitFor( int numberOfAgents, TimeSpan timeout )
boolean WaitFor( int numberOfAgents, TimeSpan timeout )
Parameters
- numberOfAgents (Int32)
- The number of agents to wait for.
- timeout (TimeSpan)
- Time to wait.
Return Value
true if the required number of agents were discovered, false if the timeout expired.