TaskProcessorBaseTSettingsCreateApplicationTaskSafeInTransaction Method
Helper method used to create a task in the task queue, accounting for the potential that the task
queue has been destroyed.
- If the task queue is not found, the RegisterTaskQueue() method is called, then the create task
is attempted a 2nd time.
Namespace: MFiles.VAF.MultiserverModeAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public string CreateApplicationTaskSafeInTransaction(
Vault transactionalVault,
bool allowRetry,
string taskQueue,
string taskType,
byte[] taskData = null,
DateTime activationTimestamp = default,
int restoreToWaitingTimeoutInMinutes = 1
)
- transactionalVault Vault
- Transactional vault.
- allowRetry Boolean
- When true, a retry attempt it permitted if the queue is not found.
- taskQueue String
- Task queue id.
- taskType String
- Task type.
- taskData Byte (Optional)
- Immutable task data.
- activationTimestamp DateTime (Optional)
- The earliest time the task can be assigned for processing.
- restoreToWaitingTimeoutInMinutes Int32 (Optional)
-
Number of minutes the task can be in progress without an update before it times out.
StringTask id.