GigaSpaces XAP.NET Documentation
ReadMultiple<(Of <(T>)>) Method (query, tx, maxItems)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxyReadMultiple<(Of <(T>)>)(IQuery<(Of <(T>)>), ITransaction, Int32)
Read an array of matching objects from the space. Matching is done as in read with no timeout.
Declaration Syntax
C#Visual BasicVisual C++J#
T[] ReadMultiple<T>(
	IQuery<T> query,
	ITransaction tx,
	int maxItems
)
Function ReadMultiple(Of T) ( _
	query As IQuery(Of T), _
	tx As ITransaction, _
	maxItems As Integer _
) As T()
generic<typename T>
array<T>^ ReadMultiple(
	IQuery<T>^ query, 
	ITransaction^ tx, 
	int maxItems
)
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.
maxItems (Int32)
Maximum number of objects to return.
Return Value
An array of objects read from the space (empty array if no match was found).
Exceptions
ExceptionCondition
UnusableEntryExceptionA serialized field of the object being read cannot be deserialized.
TransactionExceptionTransaction error occured.
InactiveSpaceExceptionThe space is in backup mode and therefore is not active.
SqlQueryExceptionThe query template is an illegal SqlQuery.

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