Waits for the given timeout till at least one agent is discovered.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IGridServiceAgent WaitForAtLeastOne( TimeSpan timeout )
Function WaitForAtLeastOne ( _ timeout As TimeSpan _ ) As IGridServiceAgent
IGridServiceAgent^ WaitForAtLeastOne( TimeSpan timeout )
IGridServiceAgent WaitForAtLeastOne( TimeSpan timeout )
Parameters
- timeout (TimeSpan)
- Time to wait.
Return Value
discovered IGridServiceAgent or null if timeout elapsed.