TaskQueueManagerAddScheduledTask Method
En-queues the scheduled 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 AddScheduledTask(
string queueId,
string taskType,
DateTime activationTimestamp,
int restoreToWaitingTimeoutInMinutes = 5,
byte[] taskData = null,
Vault vault = null
)
- queueId String
- Task queue identifier.
- taskType String
- Task type / handler identifier.
- activationTimestamp DateTime
- The earliest time the task can be assigned for processing.
- 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)