GigaSpaces XAP.NET Documentation
ReadByIds<(Of <(T>)>) Method (ids, routingKey, tx, modifiers)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxyReadByIds<(Of <(T>)>)(array<Object>[]()[], Object, ITransaction, ReadModifiers)
Read objects from the space matching their IDs, the specified class type and routing key, with the provided .

Note, if routing key is null and the cluster is partitioned, the operation will broadcast to all of the partitions.

FIFO is not supported by this operation - the results are always ordered in correlation with the input IDs array.

Declaration Syntax
C#Visual BasicVisual C++J#
IReadByIdsResult<T> ReadByIds<T>(
	Object[] ids,
	Object routingKey,
	ITransaction tx,
	ReadModifiers modifiers
)
Function ReadByIds(Of T) ( _
	ids As Object(), _
	routingKey As Object, _
	tx As ITransaction, _
	modifiers As ReadModifiers _
) As IReadByIdsResult(Of T)
generic<typename T>
IReadByIdsResult<T>^ ReadByIds(
	array<Object^>^ ids, 
	Object^ routingKey, 
	ITransaction^ tx, 
	ReadModifiers modifiers
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
The class.
Parameters
ids (array< Object >[]()[])
The object IDs array.
routingKey (Object)
The routing key of the provided object IDs.
tx (ITransaction)
The transaction which this operation will participate in.
modifiers (ReadModifiers)
The read modifier to use (One or several of ).
Return Value
An IReadByIdsResult<(Of <(T>)>) containing the matched results.
Exceptions
ExceptionCondition
ReadByIdsExceptionThe operation had a failure.

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