GigaSpaces XAP.NET Documentation
BeginRead<(Of <(T>)>) Method (query, tx, userCallback, stateObject)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxyBeginRead<(Of <(T>)>)(IQuery<(Of <(T>)>), ITransaction, AsyncCallback<(Of <(T>)>), Object)
Begins an asynchronous Read<(Of <(T>)>)(IQuery<(Of <(T>)>), ITransaction, Int64, ReadModifiers) operation.
Declaration Syntax
C#Visual BasicVisual C++J#
IAsyncResult<T> BeginRead<T>(
	IQuery<T> query,
	ITransaction tx,
	AsyncCallback<T> userCallback,
	Object stateObject
)
Function BeginRead(Of T) ( _
	query As IQuery(Of T), _
	tx As ITransaction, _
	userCallback As AsyncCallback(Of T), _
	stateObject As Object _
) As IAsyncResult(Of T)
generic<typename T>
IAsyncResult<T>^ BeginRead(
	IQuery<T>^ query, 
	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 object to read.
Parameters
query (IQuery<(Of <(T>)>))
The query used for matching.
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 read.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.2.0.0 (10.2.1.14000)