ITaskProcessingJobTDirective Methods |
The ITaskProcessingJobTDirective generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Commit |
Used to finalize task processing in Hybrid mode.
The callback runs in the scope of a vault transaction along with the final task
completed state. If any part of the callback or task completion steps fail,
all vault operations performed in the callback will be rolled back.
Throws if called more than once.
Throws if not in Hybrid mode.
|
![]() | GetStatus |
Gets a snapshot of the current job status.
Use Update(NullableInt32, String, JObject) to modify.
|
![]() | ThrowIfJobAbortRequested |
Throws if the job has been asked to abort.
|
![]() | ThrowIfTaskCancellationRequested |
Throws if it has been requested that the job's task is cancelled.
|
![]() | Transaction |
Runs a callback in the scope of a vault transaction.
If the method fails, all operations made with the provided vault will be rolled back.
If the method succeeds, all operations made with the provided vault will be committed.
|
![]() | Update |
Updates the in-progress status of the task.
|