GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfAgents, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.AgentIGridServiceAgentsWaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of agents are up.
Declaration Syntax
C#Visual BasicVisual 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.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.1.0.0 (10.1.1.12800)