GigaSpaces XAP.NET Documentation
BeginTake<(Of <(T>)>) Method (query, tx, timeout, modifiers, userCallback, stateObject)
Class LibraryGigaSpaces.CoreISpaceProxyBeginTake<(Of <(T>)>)(IQuery<(Of <(T>)>), ITransaction, Int64, TakeModifiers, AsyncCallback<(Of <(T>)>), Object)
Begins an asynchronous Take<(Of <(T>)>)(IQuery<(Of <(T>)>), ITransaction, Int64) operation.
Declaration Syntax
C#Visual BasicVisual C++J#
IAsyncResult<T> BeginTake<T>(
	IQuery<T> query,
	ITransaction tx,
	long timeout,
	TakeModifiers modifiers,
	AsyncCallback<T> userCallback,
	Object stateObject
Function BeginTake(Of T) ( _
	query As IQuery(Of T), _
	tx As ITransaction, _
	timeout As Long, _
	modifiers As TakeModifiers, _
	userCallback As AsyncCallback(Of T), _
	stateObject As Object _
) As IAsyncResult(Of T)
generic<typename T>
IAsyncResult<T>^ BeginTake(
	IQuery<T>^ query, 
	ITransaction^ tx, 
	long long timeout, 
	TakeModifiers modifiers, 
	AsyncCallback<T>^ userCallback, 
	Object^ stateObject
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
Type of object to take.
query (IQuery<(Of <(T>)>))
The query used for matching.
tx (ITransaction)
The transaction (if any) under which to work.
timeout (Int64)
How long the client is willing to wait for a transactionally proper matching object.
modifiers (TakeModifiers)
The modifier(s) to define behaviour of the operation.
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 take.

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