M-Files API 23.11.13135.0
ReserveTasksForProcessing Method
VaultApplicationTaskOperations Object : ReserveTasksForProcessing Method
The collection of task queue IDs from which to reserve tasks.
Description
Reserves the next tasks for processing from the task queues.
Syntax
Visual Basic
Public Function ReserveTasksForProcessing( _
   ByVal QueueIDCollection As Strings _
) As ApplicationTaskInfos
Parameters
QueueIDCollection
The collection of task queue IDs from which to reserve tasks.
Remarks

Requires M-Files 19.3.7499.1 or later.

This method is available only if M-Files API is used in the server interface mode.

The task consumer (for instance an application thread or a background operation carrying out tasks in the task queue) should use this method to check if there are any tasks available for processing in the task queues.

See Also

VaultApplicationTaskOperations Object  | VaultApplicationTaskOperations Members