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