Click or drag to resize

TaskProcessorJob Methods

The TaskProcessorJob type exposes the following members.

Methods
  NameDescription
Protected methodAssignTaskForProcessing
Assigns a system task to process this job.
(Overrides ApplicationTaskOperationAssignTaskForProcessing(AsyncProcessingOperationArgsApplicationTask).)
Public methodCancel
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Public methodCancelAfter
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Public methodDeepClone
Created a deep clone of the task handler for use in reading via the processing report.
Protected methodOnCancellationRequested
Override the cancellation requested method to ensure only items with a valid state are updated.
(Inherited from AsyncProcessingOperationT.)
Public methodOnProcessingCompleted
Updates the last processed broadcast id for broadcast tasks.
(Overrides AsyncProcessingOperationTOnProcessingCompleted(AsyncProcessingOperationArgsT).)
Public methodOnProcessingFailed
Processing failed event invoker.
(Inherited from AsyncProcessingOperationT.)
Public methodOnProcessingStarted
Processing started event invocation.
(Inherited from AsyncProcessingOperationT.)
Public methodProcess
Begins the processing of the app task.
(Inherited from ApplicationTaskOperation.)
Public methodResetCancellationToken
Resets the cancellation token source.
(Inherited from CancellableOperationT.)
Public methodThrowIfCancellationRequested
If cancellation has been requested: - The CancellationRequest event is fired. - Then the cancellation exception is thrown.
(Inherited from CancellableOperationT.)
Protected methodThrowIfLessThanOne
Asserts the passed value is greater than zero.
(Inherited from AsyncProcessingOperationT.)
Protected methodThrowIfNull
Asserts the passed object is not null.
(Inherited from CancellableOperationT.)
Protected methodTriggerCancellationRequested
Triggers the cancellation requested event, for any registered listeners.
(Inherited from CancellableOperationT.)
Top
See Also