Click or drag to resize

TaskManagerRegisterQueue Method

Registers a queue for the task manager to process. Opens the queue in the vault, if not done so already.

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
public ITaskQueueProcessor RegisterQueue(
	string queueId,
	IEnumerable<Processor> processors,
	MFTaskQueueProcessingBehavior behavior = MFTaskQueueProcessingBehavior.MFProcessingBehaviorConcurrent,
	TaskQueueSettings settings = null


Type: SystemString
The id of the queue.
Type: System.Collections.GenericIEnumerableProcessor
Processors for the tasks and broadcasts used by the queue.
behavior (Optional)
Type: MFTaskQueueProcessingBehavior
The queue's task processing behavior.
settings (Optional)
Type: MFiles.VAF.AppTasksTaskQueueSettings
The queue's settings.

Return Value

Type: ITaskQueueProcessor
The registered queue.
See Also