GigaSpaces XAP.NET Documentation
StartGridServiceAndWait Method (options, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.AgentIGridServiceAgentStartGridServiceAndWait(GridServiceContainerOptions, TimeSpan)
Starts a IGridServiceContainer based on the provided options and waits for the given timeout until it is discovered by the admin, which is then returned.
Declaration Syntax
C#Visual BasicVisual C++J#
IGridServiceContainer StartGridServiceAndWait(
	GridServiceContainerOptions options,
	TimeSpan timeout
)
Function StartGridServiceAndWait ( _
	options As GridServiceContainerOptions, _
	timeout As TimeSpan _
) As IGridServiceContainer
IGridServiceContainer^ StartGridServiceAndWait(
	GridServiceContainerOptions^ options, 
	TimeSpan timeout
)
IGridServiceContainer StartGridServiceAndWait(
	GridServiceContainerOptions options,
	TimeSpan timeout
)
Parameters
options (GridServiceContainerOptions)
GSC options.
timeout (TimeSpan)
Time to wait.
Return Value
Started IGridServiceContainer or null if timeout elapsed.

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