The Dispatcher type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CheckAccessLimitation | (Overrides DispatcherBase..::..CheckAccessLimitation()()()().) | |
| CreateSafeAction<(Of <<'(T>)>>) |
Creates a new action based upon an other action which will handle exceptions. Use this to wrap safe action for tasks.
| |
| CreateSafeFunction<(Of <<'(T>)>>) |
Creates a new function based upon an other function which will handle exceptions. Use this to wrap safe functions for tasks.
| |
| Dispatch(Action) |
Creates a new Task based upon the given action.
(Inherited from DispatcherBase.) | |
| Dispatch(Task) |
Dispatches a given Task.
(Inherited from DispatcherBase.) | |
| Dispatch<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>)) |
Creates a new Task based upon the given action.
(Inherited from DispatcherBase.) | |
| Dispose |
Disposes all dispatcher resources and remaining tasks.
(Overrides DispatcherBase..::..Dispose()()()().) | |
| ProcessNextTask()()()() |
Processed the next available task.
Only call this inside the thread you want the tasks to process to be processed.
| |
| ProcessNextTask(WaitHandle) |
Processes the next available tasks and returns true when it has been processed and false otherwise.
This method will block until th exitHandle has been set or a task should be processed.
Only call this inside the thread you want the tasks to process to be processed.
| |
| ProcessTasks()()()() |
Processes all remaining tasks. Call this periodically to allow the Dispatcher to handle dispatched tasks.
Only call this inside the thread you want the tasks to process to be processed.
| |
| ProcessTasks(WaitHandle) |
Processes all remaining tasks and returns true when something has been processed and false otherwise.
This method will block until th exitHandle has been set or tasks should be processed.
Only call this inside the thread you want the tasks to process to be processed.
| |
| ReorderTasks | (Inherited from DispatcherBase.) |
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.) |