Click or drag to resize

BatchProcessorJob Methods

The BatchProcessorJob type exposes the following members.

Methods
  NameDescription
Public methodCancel
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Public methodCancelActiveJob
Cancels an active job, by app task id.
Public methodCancelAfter
Requests cancellation of the operation.
(Inherited from CancellableOperationT.)
Public methodContainsFailures
True when the processing report contains any failed operations.
Public methodIsActive
Resolves the is active flag.
Protected methodOnCancellationRequested
Override the cancellation requested method to ensure only items with a valid state are updated.
(Inherited from AsyncProcessingOperationT.)
Public methodOnChildJobCreated
Child job created event invoker.
Public methodOnProcessingCompleted
Processing completed event invocation.
(Inherited from AsyncProcessingOperationT.)
Public methodOnProcessingFailed
Processing failed event invoker.
(Inherited from AsyncProcessingOperationT.)
Public methodOnProcessingStarted
Processing started event invocation.
(Inherited from AsyncProcessingOperationT.)
Public methodProcess
Begins processing all passed operations.
Public methodProcessChildJob
Processes an individual child job.
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.)
Public methodWaitAll
Waits for all child tasks to exit.
Top
See Also