The ActionThread type exposes the following members.

Methods

  NameDescription
Public methodAbort
Notifies the thread to stop working.
(Inherited from ThreadBase.)
Public methodAbortWaitForSeconds
Notifies the thread to stop working and waits for completion for the given ammount of time. When the thread soes not stop after the given timeout the thread will be terminated.
(Inherited from ThreadBase.)
Public methodDispatch(Action)
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given action.
(Inherited from ThreadBase.)
Public methodDispatch(Task)
Dispatches the given task to the target Dispatcher (default: the main Dispatcher).
(Inherited from ThreadBase.)
Public methodDispatch<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>))
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given function.
(Inherited from ThreadBase.)
Public methodDispatchAndWait(Action)
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given action. This method will wait for the task completion.
(Inherited from ThreadBase.)
Public methodDispatchAndWait(Task)
Dispatches the given task to the target Dispatcher (default: the main Dispatcher). This method will wait for the task completion.
(Inherited from ThreadBase.)
Public methodDispatchAndWait(Action, Single)
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given action. This method will wait for the task completion or the timeout.
(Inherited from ThreadBase.)
Public methodDispatchAndWait(Task, Single)
Dispatches the given task to the target Dispatcher (default: the main Dispatcher). This method will wait for the task completion or the timeout.
(Inherited from ThreadBase.)
Public methodDispatchAndWait<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>))
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given function. This method will wait for the task completion and returns the return value.
(Inherited from ThreadBase.)
Public methodDispatchAndWait<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), Single)
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given function. This method will wait for the task completion or the timeout and returns the return value.
(Inherited from ThreadBase.)
Public methodDispose
Disposes the thread and all resources.
(Inherited from ThreadBase.)
Protected methodDo (Overrides ThreadBase..::..Do()()()().)
Protected methodDoInternal (Inherited from ThreadBase.)
Public methodExit
Notifies the thread to stop working.
(Inherited from ThreadBase.)
Public methodStart
Starts the thread.
(Inherited from ThreadBase.)

Extension Methods

  NameDescription
Public Extension MethodRunAsync(String, array<Object>[]()[][])Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.)
Public Extension MethodRunAsync(String, TaskDistributor, array<Object>[]()[][])Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.)
Public Extension MethodRunAsync<(Of <<'(T>)>>)(String, array<Object>[]()[][])Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.)
Public Extension MethodRunAsync<(Of <<'(T>)>>)(String, TaskDistributor, array<Object>[]()[][])Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.)

See Also