public abstract class ApplicationTaskOperation : AsyncProcessingOperation<ApplicationTask>
ApplicationTaskOperation | Self initializing constructor. |
Data |
Data value clone container.
(Inherited from CancellableOperationT) |
FailureException |
Holds the failure exception, if the processing had an un-handled failure.
(Inherited from AsyncProcessingOperationT) |
JobState |
Processing state of the async job.
(Inherited from AsyncProcessingOperationT) |
LinkedTokenSource |
Protected linked cancellation token source.
- Used to request cancellation of the process.
(Inherited from CancellableOperationT) |
Task |
The system task that processes this operation.
(Inherited from CancellableOperationT) |
Token |
Linked cancellation token.
(Inherited from CancellableOperationT) |
AssignTaskForProcessing | Assigns a system task that processes the operation. try => OnProcessingStarted(AsyncProcessingOperationArgsT)() catch=> OnProcessingFailed(AsyncProcessingOperationArgsT, Exception)() finally => OnProcessingCompleted(AsyncProcessingOperationArgsT)() |
Cancel |
Requests cancellation of the operation.
(Inherited from CancellableOperationT) |
CancelAfter |
Requests cancellation of the operation.
(Inherited from CancellableOperationT) |
OnCancellationRequested |
Override the cancellation requested method to ensure only items with a valid state are updated.
(Inherited from AsyncProcessingOperationT) |
OnProcessingCompleted |
Processing completed event invocation.
(Inherited from AsyncProcessingOperationT) |
OnProcessingFailed |
Processing failed event invoker.
(Inherited from AsyncProcessingOperationT) |
OnProcessingStarted |
Processing started event invocation.
(Inherited from AsyncProcessingOperationT) |
Process | Begins the processing of the app task. |
ResetCancellationToken |
Resets the cancellation token source.
(Inherited from CancellableOperationT) |
ThrowIfCancellationRequested |
If cancellation has been requested:
- The CancellationRequest event is fired.
- Then the cancellation exception is thrown.
(Inherited from CancellableOperationT) |
ThrowIfLessThanOne |
Asserts the passed value is greater than zero.
(Inherited from AsyncProcessingOperationT) |
ThrowIfNull |
Asserts the passed object is not null.
(Inherited from CancellableOperationT) |
TriggerCancellationRequested |
Triggers the cancellation requested event, for any registered listeners.
(Inherited from CancellableOperationT) |
CancellationRequested |
Event fired on cancellation requested.
(Inherited from CancellableOperationT) |
ProcessingCompleted |
Event fired on processing completed without failure.
(Inherited from AsyncProcessingOperationT) |
ProcessingFailed |
Event fired on processing failure.
(Inherited from AsyncProcessingOperationT) |
ProcessingStarted |
Processing has started event.
(Inherited from AsyncProcessingOperationT) |