ApplicationThread Class

Spotfire 14.3 API Reference
This class enables pieces of code to be synchronously executed on the main application thread. This is required if the document is to be accessed from any other thread.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.ApplicationModelApplicationThread

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public abstract class ApplicationThread

The ApplicationThread type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteOnWorkerThread(String, WorkerThreadExecutor)
Considers the specified workerThreadExecutor for asynchronous execution on a worker thread. The executor may also be executed synchronously on the calling thread. In any case the thread that executes it will inherit settings from the application thread.
Public methodExecuteOnWorkerThread(String, WorkerThreadExecutor, ThreadPriority)
Considers the specified workerThreadExecutor for asynchronous execution on a worker thread. The executor may also be executed synchronously on the calling thread. In any case the thread that executes it will inherit settings from the application thread.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke
Synchronously executes the specified delegate on the main application thread.
Public methodInvokeAsynchronously
Asynchronously executes the specified delegate on the main application thread.
Protected methodInvokeEnqueued
Called when an invoke to the application thread is enqueued.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldmodalOperationLock
Lock around the modal operation thread variable.
Top
Remarks

An instance of this class is available as a service on the application. To obtain the object ApplicationThread object, call GetService on any document node attached to the document or get it from the Services property on the application object.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference