Click or drag to resize

TaskManagerCancelWaitingTask Method

Marks a task as canceled. Throws if the task is not in the waiting state.

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public void CancelWaitingTask(
	Vault vault,
	string taskId,
	TaskProcessingJobStatus status = null
)

Parameters

vault
Type: Vault
The vault instance to update the tasks with.
taskId
Type: SystemString
The id of the task to cancel.
status (Optional)
Type: MFiles.VAF.AppTasksTaskProcessingJobStatus
The status information to add to the task as it is canceled.
See Also