The Task<(Of <(<'T>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
Abort |
Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.
(Inherited from Task.) | |
AbortWait |
Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.
This method will wait until the task has been aborted/ended.
(Inherited from Task.) | |
AbortWaitForSeconds |
Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.
This method will wait until the task has been aborted/ended or the given timeout has been reached.
(Inherited from Task.) | |
Dispose |
Disposes this task and waits for completion if its still running.
(Inherited from Task.) | |
Do | (Overrides Task..::..Do()()()().) | |
Finalize | (Inherited from Task.) | |
Run()()()() | ||
Run(DispatcherBase) | ||
Wait<(Of <<'(TResult>)>>) | (Overrides Task..::..Wait()()()().) | |
WaitForSeconds<(Of <<'(TResult>)>>)(Single) | (Overrides Task..::..WaitForSeconds(Single).) | |
WaitForSeconds<(Of <<'(TResult>)>>)(Single, TResult) |
Blocks the calling thread until the task has been ended and returns the return value of the task as the given type.
Use this method only for Tasks with return values (functions)!
(Inherited from Task.) | |
WaitForSeconds<(Of <<'(TResult>)>>)(Single, TResult) | (Overrides Task..::..WaitForSeconds<(Of <<'(TResult>)>>)(Single, TResult).) |
Extension Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) |
Converts this Task.
(Defined by TaskExtension.) | |
Await(Task) | Overloaded.
Starts this Task when the other Task ended successfully.
(Defined by TaskExtension.) | |
Await(Task, DispatcherBase) | Overloaded.
Starts this Task when the other Task ended successfully.
(Defined by TaskExtension.) | |
OnResult(Action<(Of <<'(Object>)>>)) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
OnResult(Action<(Of <<'(Object>)>>), DispatcherBase) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
OnResult<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>)) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
OnResult<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>)) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
OnResult<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>), DispatcherBase) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
OnResult<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>), DispatcherBase) | Overloaded.
Invokes the given action with the set result of the task when the task succeeded.
(Defined by TaskExtension.) | |
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.) | |
Then(Task) | Overloaded.
Starts the given Task when this Task ended successfully.
(Defined by TaskExtension.) | |
Then(Task, DispatcherBase) | Overloaded.
Starts the given Task when this Task ended successfully.
(Defined by TaskExtension.) | |
WhenEnded(Action) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenEnded(Action<(Of <<'(Task>)>>)) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenEnded(Action<(Of <<'(Task>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenEnded<(Of <<'(T>)>>)(Action) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenEnded<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenEnded<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task ends.
(Defined by TaskExtension.) | |
WhenFailed(Action) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenFailed(Action<(Of <<'(Task>)>>)) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenFailed(Action<(Of <<'(Task>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenFailed<(Of <<'(T>)>>)(Action) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenFailed<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenFailed<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task fails.
(Defined by TaskExtension.) | |
WhenSucceeded(Action) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) | |
WhenSucceeded(Action<(Of <<'(Task>)>>)) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) | |
WhenSucceeded(Action<(Of <<'(Task>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) | |
WhenSucceeded<(Of <<'(T>)>>)(Action) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) | |
WhenSucceeded<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) | |
WhenSucceeded<(Of <<'(T>)>>)(Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) | Overloaded.
The given Action will be performed when the task succeeds.
(Defined by TaskExtension.) |