TaskQueueManagerAddTask Method

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

Definition

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

Parameters

queueId  String
Task queue identifier.
taskType  String
Task type / handler identifier.
restoreToWaitingTimeoutInMinutes  Int32  (Optional)
Duration in minutes the task can go without an update before it is moved back into the waiting state.
taskData  Byte  (Optional)
Serialized task data.
vault  Vault  (Optional)
Optional, vault object to use for the call, defaults to Permanent vault.

Return Value

String
Server assigned task identifier (also updated in taskInfo reference)

See Also