GigaSpaces XAP.NET Documentation
TakeByIds Method (type, ids, routingKey)
Class LibraryGigaSpaces.CoreISpaceProxyTakeByIds(Type, array<Object>[]()[], Object)
Take (remove) objects from the space matching their IDs, the specified class and routing key.

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#
ITakeByIdsResult<Object> TakeByIds(
	Type type,
	Object[] ids,
	Object routingKey
)
Function TakeByIds ( _
	type As Type, _
	ids As Object(), _
	routingKey As Object _
) As ITakeByIdsResult(Of Object)
ITakeByIdsResult<Object^>^ TakeByIds(
	Type^ type, 
	array<Object^>^ ids, 
	Object^ routingKey
)
ITakeByIdsResult<Object> TakeByIds(
	Type type,
	Object[] ids,
	Object routingKey
)
Parameters
type (Type)
The class.
ids (array< Object >[]()[])
The object IDs array.
routingKey (Object)
The routing key of the provided object IDs.
Return Value
An ITakeByIdsResult<(Of <(T>)>) containing the matched results.
Exceptions
ExceptionCondition
ReadByIdsExceptionThe operation had a failure.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.2.0.0 (12.2.0.18000)