GigaSpaces XAP.NET Documentation
BeginExecute<(Of <(<'T>)>)> Method (task, routing, tx, userCallback, stateObject)
Class LibraryGigaSpaces.CoreISpaceProxyBeginExecute<(Of <<'(T>)>>)(ISpaceTask<(Of <<'(T>)>>), Object, ITransaction, AsyncCallback<(Of <<'(T>)>>), Object)
Begins asynchronous execute operation which 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#
IAsyncResult<T> BeginExecute<T>(
	ISpaceTask<T> task,
	Object routing,
	ITransaction tx,
	AsyncCallback<T> userCallback,
	Object stateObject
)
Function BeginExecute(Of T) ( _
	task As ISpaceTask(Of T), _
	routing As Object, _
	tx As ITransaction, _
	userCallback As AsyncCallback(Of T), _
	stateObject As Object _
) As IAsyncResult(Of T)
generic<typename T>
IAsyncResult<T>^ BeginExecute(
	ISpaceTask<T>^ task, 
	Object^ routing, 
	ITransaction^ tx, 
	AsyncCallback<T>^ userCallback, 
	Object^ stateObject
)
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.
userCallback (AsyncCallback<(Of <(<'T>)>)>)
The method to be called when the asynchronous operation is complete.
stateObject (Object)
A user-provided object that distinguishes this particular asynchronous read request from other requests.
Return Value
An IAsyncResult that references the asynchronous execution.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 14.5.0.0 (14.5.0)