WorkDispatcher Class TIBCO Spotfire 7.6 API Reference
Base class for typed work dispatchers.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.ThreadingWorkDispatcher
    Spotfire.Dxp.Framework.ThreadingWorkDispatcherTItem

Namespace: Spotfire.Dxp.Framework.Threading
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public abstract class WorkDispatcher : IDisposable

The WorkDispatcher type exposes the following members.

Methods

  NameDescription
Public methodCancelAll
Cancel all work items.
Public methodDispose
Cancels all work items and frees up resources.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyAutoCancel
Gets or sets a value indicating whether worker model changes should automatically cancel added work items. The default value is true.
Public propertyAutoDisposeItems
Gets or sets a value indicating whether work items should be automatically disposed. The default value is true. Manipulating this flag should be avoided whenever possible. Instead use work item handlers to make sure that work items are not disposed too early.
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
Public propertyMaxQueueSize
Gets or sets the maximum allowed number of items waiting to be dispatched. Before new items are added, items at the back of the queue will be canceled to make room.
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference