GigaSpaces XAP.NET Documentation
BeginExecute<(Of <(T>)>) Method (task, routing, userCallback, stateObject)
Class LibraryGigaSpaces.CoreISpaceProxyBeginExecute<(Of <(T>)>)(ISpaceTask<(Of <(T>)>), Object, 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,
	AsyncCallback<T> userCallback,
	Object stateObject
)
Function BeginExecute(Of T) ( _
	task As ISpaceTask(Of T), _
	routing As Object, _
	userCallback As AsyncCallback(Of T), _
	stateObject As Object _
) As IAsyncResult(Of T)
generic<typename T>
IAsyncResult<T>^ BeginExecute(
	ISpaceTask<T>^ task, 
	Object^ routing, 
	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.
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: 12.2.0.0 (12.2.0.18000)