Click or drag to resize

BasicModuleRegisterTaskQueue Method

Registers a task queue wrapper and opens the task queue in the server. - Opens the task queue in the server. - Registers the TaskQueue object and its associated handlers inside the task queue manager.

Namespace:  MFiles.VAF.Module
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public virtual void RegisterTaskQueue(
	string queueName,
	MFTaskQueueProcessingBehavior processingBehavior,
	TaskQueueManagerTaskType taskType,
	IApplicationTaskProcessor taskProcessor,
	int maximumPollingIntervalInSeconds,
	string lastBroadcastId = ""
)

Parameters

queueName
Type: SystemString
Task queue name / identifier.
processingBehavior
Type: MFTaskQueueProcessingBehavior
Processing behavior type.
taskType
Type: MFiles.VAF.Common.ApplicationTaskQueueTaskQueueManagerTaskType
Defines the type of tasks that can be processed by this task queue.
taskProcessor
Type: MFiles.VAF.Common.ApplicationTaskQueueIApplicationTaskProcessor
Task processor for this queue.
maximumPollingIntervalInSeconds
Type: SystemInt32
The max time in seconds that can pass before a polling cycle is ran for this queue.
lastBroadcastId (Optional)
Type: SystemString
The last processed broadcast id, defaults to empty string.
See Also