GigaSpaces XAP.NET Documentation
Execute<(Of <(<'T>)>)> Method (task, routing, tx, timeout)
Class LibraryGigaSpaces.CoreISpaceProxyExecute<(Of <<'(T>)>>)(ISpaceTask<(Of <<'(T>)>>), Object, ITransaction, Int32)
Executes a task on a specific space node. The space node it will execute on is controlled by the routing value provided as a second parameter.
Declaration Syntax
C#Visual BasicVisual C++J#
T Execute<T>(
	ISpaceTask<T> task,
	Object routing,
	ITransaction tx,
	int timeout
)
Function Execute(Of T) ( _
	task As ISpaceTask(Of T), _
	routing As Object, _
	tx As ITransaction, _
	timeout As Integer _
) As T
generic<typename T>
T Execute(
	ISpaceTask<T>^ task, 
	Object^ routing, 
	ITransaction^ tx, 
	int timeout
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of task execution result.
Parameters
task (ISpaceTask<(Of <(<'T>)>)>)
The space task to execute.
routing (Object)
Controls routing of the task.
tx (ITransaction)
The transaction (if any) under which to work.
timeout (Int32)
The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.
Return Value
An IAsyncResult that references the asynchronous execution.
Exceptions
ExceptionCondition
OperationTimeoutExceptionTimeout expired.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 15.2.0.0 (15.2.0)