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.3.623.2
public string AddTask(
	string queueId,
	string taskType,
	int restoreToWaitingTimeoutInMinutes = 5,
	byte[] taskData = null,
	Vault vault = null


Type: SystemString
Task queue identifier.
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.
vault (Optional)
Type: Vault
Optional, vault object to use for the call, defaults to Permanent vault.

Return Value

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