|
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.2.0.9
Syntaxpublic string AddTask(
string queueId,
string taskType,
int restoreToWaitingTimeoutInMinutes = 5,
byte[] taskData = null,
Vault vault = 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. - vault (Optional)
- Type: Vault
Optional, vault object to use for the call, defaults to Permanent vault.
Return Value
Type:
StringServer assigned task identifier (also updated in taskInfo reference)
See Also