Click or drag to resize

InvokeableThread Class

Thread that can be invoked, i.e. code can be executed using Invoke(Action) or InvokeAsync(Action) always from this thread. This is especially important for objects which are thread sensitive. These objects must be created and it's functions must be called always from the same thread.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesInvokeableThread

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class InvokeableThread : IInvokeableThread, 
	IDisposable

The InvokeableThread type exposes the following members.

Constructors
 NameDescription
Public methodInvokeableThread(String, ISynchronizeInvoke) Initializes a new instance of the InvokeableThread class.
Public methodInvokeableThread(String, ThreadPriority, ISynchronizeInvoke) Initializes a new instance of the InvokeableThread class.
Top
Methods
 NameDescription
Public methodDispose Releases unmanaged and - optionally - managed resources. If the thread is still running, it is stopped.
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInvoke Executes the provided action synchronously. This means that this function returns only after the provided action was executed.
Public methodInvokeAsync Executes the provided action asynchronously. This means that this function immediately returns, without waiting for the action to be executed.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodStart Starts the invokable thread with a specified priority. The name argument is used for debugging purposes, it is assigned to the thread.
Public methodStop Stops this instance, and disposes the underlying thread instance.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also