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

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.0.0.0 (12.0.0.16000)