TaskQueueManagerAddTask Method
En-queues the task into the Multi-Server Mode, AsyncTaskQueue.
Namespace: MFiles.VAF.Common.ApplicationTaskQueueAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public string AddTask(
string queueId,
string taskType,
int restoreToWaitingTimeoutInMinutes = 5,
byte[] taskData = null,
Vault vault = null
)
- 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.
StringServer assigned task identifier (also updated in taskInfo reference)