Click or drag to resize

TaskQueueManager Methods

The TaskQueueManager type exposes the following members.

Methods
  NameDescription
Public methodAddScheduledTask
En-queues the scheduled task into the Multi-Server Mode, AsyncTaskQueue.
Public methodAddTask
En-queues the task into the Multi-Server Mode, AsyncTaskQueue.
Public methodDetachTaskQueue
Detaches a task queue wrapper from task delegation by this task queue manager instance. - Does not modify the task queue in the server. - Un-registers the TaskQueue object and its associated handlers inside the task queue manager.
Public methodDispose
IDisposable implementation.
Public methodEnableTaskPolling
Enables or disables the task queue polling. By default the polling is enabled and starts when the first queue gets opened.
Protected methodGetBroadcastTasks
Resolves a collection of broadcast messages, wrapped as a List{ApplicationTask}.
Public methodGetLatestBroadcastMessageIdentifier
Resolves the latest broadcast id for the passed queue identifier.
Public methodGetLatestBroadcastMessageIdentifiers
Resolves the latest broadcast ids for the passed queue identifiers.
Protected methodGetNewBroadcastMessages
Gets new broadcast messages from the server.
Protected methodGetTaskInfoTasks
Resolves a collection of application task info's, wrapped as a List{ApplicationTask}.
Protected methodOnPollingTimeElapsed
Polling timer handler.
Public methodOpenTaskQueue
Registers a task queue wrapper and opens the task queue in the server. - Opens the task queue in the server. - Registers the TaskQueue object and its associated handlers inside the task queue manager.
Protected methodPollTasks
Polls the server and reserves tasks for processing as well as gets new broadcast messages.
Protected methodReserveTasksForProcessing
Reserve tasks for processing from the server.
Public methodSendBroadcastMessage
Sends a broadcast message to the passed task queue.
Protected methodTransactionalBroadcastJobProcessor
Processes the app task to create a broadcast message.
Public methodTriggerPolling
Triggers polling right away (when enabled).
Public methodUpdateTask
Updates the state and progress values for a task in the server.
Public methodWaitAll
Waits for all Tasks that are still Running to complete.
Public methodWaitAll(TimeSpan)
Waits for all Tasks that are still Running to complete.
Top
See Also