GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfGridServiceContainers, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ContainerIGridServiceContainersWaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of containers are up. When passing 0, will wait till there are no more grid service containers.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	int numberOfGridServiceContainers,
	TimeSpan timeout
)
Function WaitFor ( _
	numberOfGridServiceContainers As Integer, _
	timeout As TimeSpan _
) As Boolean
bool WaitFor(
	int numberOfGridServiceContainers, 
	TimeSpan timeout
)
boolean WaitFor(
	int numberOfGridServiceContainers,
	TimeSpan timeout
)
Parameters
numberOfGridServiceContainers (Int32)
The number of containers to wait for
timeout (TimeSpan)
Time to wait.
Return Value
true if the required number of containers were discovered, false if the timeout expired.

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