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.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
ITakeByIdsResult<T> TakeByIds<T>( Object[] ids, Object routingKey )
Function TakeByIds(Of T) ( _ ids As Object(), _ routingKey As Object _ ) As ITakeByIdsResult(Of T)
generic<typename T> ITakeByIdsResult<T>^ TakeByIds( array<Object^>^ ids, Object^ routingKey )
![](../icons/collapse_all.gif)
- T
- The class.
![](../icons/collapse_all.gif)
- ids (array<Object>[]()[][])
- The object IDs array.
- routingKey (Object)
- The routing key of the provided object IDs.
![](../icons/collapse_all.gif)
An ITakeByIdsResult<(Of <(<'T>)>)> containing the matched results.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
TakeByIdsException | The operation had a failure. |