GigaSpaces XAP.NET Documentation
WaitFor Method (host, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.MachineIMachinesWaitFor(String, TimeSpan)
Waits for the given timeout till the machine with the given host (name/address) is discovered.
Declaration Syntax
C#Visual BasicVisual C++J#
IMachine WaitFor(
	string host,
	TimeSpan timeout
)
Function WaitFor ( _
	host As String, _
	timeout As TimeSpan _
) As IMachine
IMachine^ WaitFor(
	String^ host, 
	TimeSpan timeout
)
IMachine WaitFor(
	String host,
	TimeSpan timeout
)
Parameters
host (String)
The machine host name or address.
timeout (TimeSpan)
Time to wait.
Return Value
The machine discovered, ornull if it was not discovered within the provided timeout.

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