GigaSpaces XAP.NET Documentation
TakeMultiple<(Of <(<'T>)>)> Method (template, tx, maxItems, modifiers)
Class LibraryGigaSpaces.CoreISpaceProxyTakeMultiple<(Of <<'(T>)>>)(T, ITransaction, Int32, TakeModifiers)
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>(
	T template,
	ITransaction tx,
	int maxItems,
	TakeModifiers modifiers
)
Function TakeMultiple(Of T) ( _
	template As T, _
	tx As ITransaction, _
	maxItems As Integer, _
	modifiers As TakeModifiers _
) As T()
generic<typename T>
array<T>^ TakeMultiple(
	T template, 
	ITransaction^ tx, 
	int maxItems, 
	TakeModifiers modifiers
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of object to read.
Parameters
template (T)
The template used for matching.
tx (ITransaction)
The transaction (if any) under which to work.
maxItems (Int32)
Maximum number of objects to return.
modifiers (TakeModifiers)
The modifier(s) to define behaviour of the operation.
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.3.0.0 (16.3.0)