WorkDispatcher Members TIBCO Spotfire 6.0 API Reference
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.)
Back to 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.
Back to Top
See Also