GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfAgents)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.AgentIGridServiceAgentsWaitFor(Int32)
Waits for SetDefaultTimeout(TimeSpan) till the provided number of agents are up.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	int numberOfAgents
)
Function WaitFor ( _
	numberOfAgents As Integer _
) As Boolean
bool WaitFor(
	int numberOfAgents
)
boolean WaitFor(
	int numberOfAgents
)
Parameters
numberOfAgents (Int32)
The number of agents to wait for.
Return Value
true if the required number of agents were discovered, false if the timeout expired.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 7.1.4.4750 (7.1.4.4750)