Performs the actual receive operation. Return value is an array of data objects.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
TData[] ReceiveBatch( IQuery<TData> template, ISpaceProxy proxy, ITransaction tx, long receiveTimeout, int batchSize )
Function ReceiveBatch ( _ template As IQuery(Of TData), _ proxy As ISpaceProxy, _ tx As ITransaction, _ receiveTimeout As Long, _ batchSize As Integer _ ) As TData()
array<TData>^ ReceiveBatch( IQuery<TData>^ template, ISpaceProxy^ proxy, ITransaction^ tx, long long receiveTimeout, int batchSize )
TData[] ReceiveBatch( IQuery<TData> template, ISpaceProxy proxy, ITransaction tx, long receiveTimeout, int batchSize )
Parameters
- proxy (ISpaceProxy)
- The proxy to execute the operation on.
- tx (ITransaction)
- Operation's transaction context, can be null.
- receiveTimeout (Int64)
- Operation's receive timeout
- batchSize (Int32)
- operation's batch size
Return Value
A batch of objects that will be passed to the event listener, null result doesn't trigger an event.