Click or drag to resize

TaskManagerEventType Enumeration

The types of events emitted by TaskManager.

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public enum TaskManagerEventType
Members
  Member nameValueDescription
ProcessingStarted0 Emitted when the processing loop is started by calling StartProcessing.
ProcessingStopped1 Emitted when the processing loop automatically stops because there are no more queues registered.
Stopping2 Emitted when the TaskManager starts shutting down.
Shutdown3 Emitted when the TaskManager has completed shutting down.
ProcessLoopStarting4 Emitted when the process loop starts a cycle.
ProcessLoopCanceled5 Emitted when a process loop cycle is ended prematurely.
ProcessLoopFailed6 Emitted when a process loop ends due to an unexpected exception.
ProcessLoopCompleted7 Emitted when a process loop cycle has completed.
QueueRegistered8 Emitted when a queue is registered.
QueueStopping9 Emitted when a queue starts to shutdown, because it has been explicitly detached, or the TaskManager is stopping / shutting down.
QueueShutdown10 Emitted when a queue has fully shutdown.
QueueDetached11 Emitted when a queue has been unregistered from the TaskManager. The task manager does not unregister queues when it is shutsdown, though it does shut them down.
BroadcastsPolled12 Emitted after a queue has been polled for new broadcast messages.
BroadcastPollFailed13 Emitted when polling a queue for new broadcast messages has failed.
TasksPolled14 Emitted after polling queues for new tasks. The referenced tasks, if any, have been reserved by the task manager for processing.
TaskPollFailed15 Emitted when polling queues for new tasks has failed.
BroadcastParseError16 Emitted when a broadcast message's directive cannot be parsed (deserialized).
BroadcastsProcessed17 Emitted after a broadcast processor has processed new broadcast messages.
BroadcastProcessingFailed18 Emitted after a broadcast processor has failed to process new broadcast messages.
TaskJobStarted19 Emitted when a task process begins processing a task.
TaskJobRestarted20 Emitted when a task process immediately retries processing a task due to an exception, that is likely transient, encountered on the first run.
TaskUpdated21 Emitted when the TaskManager has saved the current progress of an active task processing job to the vault database. The JobStatus contains job progress information.
TaskUpdateFailed22 Emitted when the TaskManager fails to save the current progress of an active task processing job to the vault database.
TaskUpdateSkipped23 Emitted when the TaskManager skips saving the current progress of an active task processing job to the vault database, due to potential transaction lock conflict issues.
TaskJobFinished24 Emitted when a task processiong job is finished for whatever reason. The JobResult indicates the outcome of the job. The JobStatus contains job progress information.
See Also