GigaSpaces XAP.NET Documentation
TakeByIds<(Of <(<'T>)>)> Method (ids, routingKey, tx)
Class LibraryGigaSpaces.CoreISpaceProxyTakeByIds<(Of <<'(T>)>>)(array<Object>[]()[][], Object, ITransaction)
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<T> TakeByIds<T>(
	Object[] ids,
	Object routingKey,
	ITransaction tx
)
Function TakeByIds(Of T) ( _
	ids As Object(), _
	routingKey As Object, _
	tx As ITransaction _
) As ITakeByIdsResult(Of T)
generic<typename T>
ITakeByIdsResult<T>^ TakeByIds(
	array<Object^>^ ids, 
	Object^ routingKey, 
	ITransaction^ tx
)
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.
Return Value
An ITakeByIdsResult<(Of <(<'T>)>)> containing the matched results.
Exceptions
ExceptionCondition
TakeByIdsExceptionThe operation had a failure.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.1.0.0 (16.1.0)