Click or drag to resize

TaskManager Constructor

Constructor.

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public TaskManager(
	string id,
	Vault permanentVault,
	IVaultTransactionRunner transactionRunner,
	Nullable<TimeSpan> processingInterval = null,
	uint maxConcurrency = 16,
	Nullable<TimeSpan> maxLockWaitTime = null,
	TaskExceptionSettings exceptionSettings = null
)

Parameters

id
Type: SystemString
Identifier for the manager (usually app namespace), for creating internal queues.
permanentVault
Type: Vault
Permanent vault.
transactionRunner
Type: MFiles.VAF.CoreIVaultTransactionRunner
Creates transactions to execute tasks in.
processingInterval (Optional)
Type: SystemNullableTimeSpan
Processing interval.
maxConcurrency (Optional)
Type: SystemUInt32
Max number of tasks that can be processed at a time across all queues.
maxLockWaitTime (Optional)
Type: SystemNullableTimeSpan
Max lock wait time.
exceptionSettings (Optional)
Type: MFiles.VAF.AppTasksTaskExceptionSettings
Default exception settings.
See Also