Click or drag to resize

TaskProcessorBaseTSettingsCreateApplicationTaskSafe 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.MultiserverMode
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
public string CreateApplicationTaskSafe(
	bool allowRetry,
	string taskQueue,
	string taskType,
	byte[] taskData = null,
	DateTime activationTimestamp = null,
	int restoreToWaitingTimeoutInMinutes = 1,
	Vault vault = null


Type: SystemBoolean
When true, a retry attempt it permitted if the queue is not found.
Type: SystemString
Task queue id.
Type: SystemString
Task type.
taskData (Optional)
Type: SystemByte
Immutable task data.
activationTimestamp (Optional)
Type: SystemDateTime
The earliest time the task can be assigned for processing.
restoreToWaitingTimeoutInMinutes (Optional)
Type: SystemInt32
Number of minutes the task can be in progress without an update before it times out.
vault (Optional)
Type: Vault
Optional, vault object to use for the call, defaults to Permanent vault.

Return Value

Type: String
Task id.
See Also