GigaSpaces XAP.NET Documentation
TakeMultiple<(Of <(<'T>)>)> Method (query, tx)
Class LibraryGigaSpaces.CoreISpaceProxyTakeMultiple<(Of <<'(T>)>>)(IQuery<(Of <<'(T>)>>), ITransaction)
Take an array of matching objects from the space. Matching is done as in Take with no timeout.
Declaration Syntax
C#Visual BasicVisual C++J#
T[] TakeMultiple<T>(
	IQuery<T> query,
	ITransaction tx
)
Function TakeMultiple(Of T) ( _
	query As IQuery(Of T), _
	tx As ITransaction _
) As T()
generic<typename T>
array<T>^ TakeMultiple(
	IQuery<T>^ query, 
	ITransaction^ tx
)
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.
Return Value
An array of objects taken from the space (empty array if no match was found).
Exceptions
ExceptionCondition
TakeMultipleExceptionThe operation had a failure.

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