Click or drag to resize

TaskQueueManagerAddTask Method

En-queues the task into the Multi-Server Mode, AsyncTaskQueue.

Namespace:  MFiles.VAF.Common.ApplicationTaskQueue
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public string AddTask(
	string queueId,
	string taskType,
	int restoreToWaitingTimeoutInMinutes = 5,
	byte[] taskData = null
)

Parameters

queueId
Type: SystemString
Task queue identifier.
taskType
Type: SystemString
Task type / handler identifier.
restoreToWaitingTimeoutInMinutes (Optional)
Type: SystemInt32
Duration in minutes the task can go without an update before it is moved back into the waiting state.
taskData (Optional)
Type: SystemByte
Serialized task data.

Return Value

Type: String
Server assigned task identifier (also updated in taskInfo reference)
See Also