GigaSpaces XAP.NET Documentation
WaitFor Method (gatewayName, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.GatewayIGatewaysWaitFor(String, TimeSpan)
Waits for the specified timeout (in time interval) till the gateway is identified as deployed.
Declaration Syntax
C#Visual BasicVisual C++J#
IGateway WaitFor(
	string gatewayName,
	TimeSpan timeout
)
Function WaitFor ( _
	gatewayName As String, _
	timeout As TimeSpan _
) As IGateway
IGateway^ WaitFor(
	String^ gatewayName, 
	TimeSpan timeout
)
IGateway WaitFor(
	String gatewayName,
	TimeSpan timeout
)
Parameters
gatewayName (String)
The name of the desired gateway.
timeout (TimeSpan)
Time to wait.
Return Value
IGateway matching the given name or
CopyC#
null
if the gateway is not deployed within the specified timeout.

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