GigaSpaces XAP.NET Documentation
StartGridServiceAndWait Method (options, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.AgentIGridServiceAgentStartGridServiceAndWait(LookupServiceOptions, TimeSpan)
Starts a ILookupService 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#
ILookupService StartGridServiceAndWait(
	LookupServiceOptions options,
	TimeSpan timeout
)
Function StartGridServiceAndWait ( _
	options As LookupServiceOptions, _
	timeout As TimeSpan _
) As ILookupService
ILookupService^ StartGridServiceAndWait(
	LookupServiceOptions^ options, 
	TimeSpan timeout
)
ILookupService StartGridServiceAndWait(
	LookupServiceOptions options,
	TimeSpan timeout
)
Parameters
options (LookupServiceOptions)
LUS options.
timeout (TimeSpan)
Time to wait.
Return Value
Started ILookupService or null if timeout elapsed.

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