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
Syntaxpublic void CancelWaitingTask(
Vault vault,
string taskId,
TaskProcessingJobStatus status = null
)
Public Sub CancelWaitingTask (
vault As Vault,
taskId As String,
Optional status As TaskProcessingJobStatus = Nothing
)
public:
void CancelWaitingTask(
Vault^ vault,
String^ taskId,
TaskProcessingJobStatus^ status = nullptr
)
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