The ActionThread type exposes the following members.
Methods
Name | Description | |
---|---|---|
Abort |
Notifies the thread to stop working.
(Inherited from ThreadBase.) | |
AbortWaitForSeconds |
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.) | |
Dispatch(Action) |
Creates a new Task for the target Dispatcher (default: the main Dispatcher) based upon the given action.
(Inherited from ThreadBase.) | |
Dispatch(Task) |
Dispatches the given task to the target Dispatcher (default: the main Dispatcher).
(Inherited from ThreadBase.) | |
Dispatch<(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.) | |
DispatchAndWait(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.) | |
DispatchAndWait(Task) |
Dispatches the given task to the target Dispatcher (default: the main Dispatcher).
This method will wait for the task completion.
(Inherited from ThreadBase.) | |
DispatchAndWait(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.) | |
DispatchAndWait(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.) | |
DispatchAndWait<(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.) | |
DispatchAndWait<(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.) | |
Dispose |
Disposes the thread and all resources.
(Inherited from ThreadBase.) | |
Do | (Overrides ThreadBase..::..Do()()()().) | |
DoInternal | (Inherited from ThreadBase.) | |
Exit |
Notifies the thread to stop working.
(Inherited from ThreadBase.) | |
Start |
Starts the thread.
(Inherited from ThreadBase.) |
Extension Methods
Name | Description | |
---|---|---|
RunAsync(String, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
RunAsync(String, TaskDistributor, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
RunAsync<(Of <<'(T>)>>)(String, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
RunAsync<(Of <<'(T>)>>)(String, TaskDistributor, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) |