TaskProcessorJob Class

The task processor job class is the async processing operations specific to ApplicationTask's that are being processed by a IApplicationTaskProcessor. This class: - Has a guid identifier. - Holds a reference to the vault. - Contains a processing report. - Exposes the immutable properties of the Application Task, so they are available without accessing the COM object.


Namespace: MFiles.VAF.MultiserverMode
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public class TaskProcessorJob : ApplicationTaskOperation, 
Object    CancellableOperationApplicationTask    AsyncProcessingOperationApplicationTask    ApplicationTaskOperation    TaskProcessorJob


TaskProcessorJob Self initializing constructor.


AppTaskActivationTimestamp The ActivationTimestamp for the application task. - This is only valid for ApplicationBroadcast Task types. - Broadcast message types always return a time stamp with a MinValue.
AppTaskData Resolves the data, byte[].
AppTaskId Resolves the task|broadcast_message id.
AppTaskIsBroadcastMessage Resolves the queue identifier.
AppTaskIsNull Flag to denote if the appTask is null.
AppTaskLatestActivityTimestamp The LatestActivityTimestamp for the application task. - This is only valid for ApplicationBroadcast Task types. - Broadcast message types always return a time stamp with a MinValue.
AppTaskQueueId Resolves the queue identifier.
AppTaskState Resolves the state value. Note: - This is only valid for ApplicationBroadcast Task types. - Broadcast message types always return MFTaskStateNone.
AppTaskType Resolves the task type or broadcast message type.
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)
QueueDef Task QueueDef.
Task The system task that processes this operation.
(Inherited from CancellableOperationT)
TaskHandler The known task handler dictionary.
Token Linked cancellation token.
(Inherited from CancellableOperationT)
Vault Vault used in processing each task.


AssignTaskForProcessing Assigns a system task to process this job.
(Overrides ApplicationTaskOperationAssignTaskForProcessing(AsyncProcessingOperationArgsApplicationTask))
Cancel Requests cancellation of the operation.
(Inherited from CancellableOperationT)
CancelAfter Requests cancellation of the operation.
(Inherited from CancellableOperationT)
DeepClone Created a deep clone of the task handler for use in reading via the processing report.
OnCancellationRequested Override the cancellation requested method to ensure only items with a valid state are updated.
(Inherited from AsyncProcessingOperationT)
OnProcessingCompleted Updates the last processed broadcast id for broadcast tasks.
(Overrides AsyncProcessingOperationTOnProcessingCompleted(AsyncProcessingOperationArgsT))
OnProcessingFailed Processing failed event invoker.
(Inherited from AsyncProcessingOperationT)
OnProcessingStarted Processing started event invocation.
(Inherited from AsyncProcessingOperationT)
Process Begins the processing of the app task.
(Inherited from ApplicationTaskOperation)
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)

See Also