GigaSpaces XAP.NET Documentation
ReadByIds Method (type, ids)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxyReadByIds(Type, array<Object>[]()[])
Read objects from the space matching their IDs and the specified class.

Note, if the space is partitioned and the Class defines a specific property for its routing value (which means that the ID property is not used for routing), the operation will broadcast to all 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<Object> ReadByIds(
	Type type,
	Object[] ids
)
Function ReadByIds ( _
	type As Type, _
	ids As Object() _
) As IReadByIdsResult(Of Object)
IReadByIdsResult<Object^>^ ReadByIds(
	Type^ type, 
	array<Object^>^ ids
)
IReadByIdsResult<Object> ReadByIds(
	Type type,
	Object[] ids
)
Parameters
type (Type)
The class.
ids (array< Object >[]()[])
The object IDs array.
Return Value
An IReadByIdsResult<(Of <(T>)>) containing the matched results.
Exceptions
ExceptionCondition
ReadByIdsExceptionThe operation had a failure.

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