The TaskExtension type exposes the following members.
Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) |
Converts this Task.
| |
Await(Task, Task) |
Starts this Task when the other Task ended successfully.
| |
Await(Task, Task, DispatcherBase) |
Starts this Task when the other Task ended successfully.
| |
ContinueWhenAllEnded(IEnumerable<(Of <<'(Task>)>>), Action) |
Starts the given Action when all Tasks in the Enumerable have ended.
| |
ContinueWhenAllEnded(IEnumerable<(Of <<'(Task>)>>), Action<(Of <<'(IEnumerable<(Of <<'(Task>)>>)>)>>)) |
Starts the given Action when all Tasks in the Enumerable have ended.
| |
ContinueWhenAnyEnded(IEnumerable<(Of <<'(Task>)>>), Action) |
Starts the given Action when any Task in the Enumerable has ended.
| |
ContinueWhenAnyEnded(IEnumerable<(Of <<'(Task>)>>), Action<(Of <<'(Task>)>>)) |
Starts the given Action when any Task in the Enumerable has ended.
| |
OnResult(Task, Action<(Of <<'(Object>)>>)) |
Invokes the given action with the set result of the task when the task succeeded.
| |
OnResult(Task, Action<(Of <<'(Object>)>>), DispatcherBase) |
Invokes the given action with the set result of the task when the task succeeded.
| |
OnResult<(Of <<'(T>)>>)(Task, Action<(Of <<'(T>)>>)) |
Invokes the given action with the set result of the task when the task succeeded.
| |
OnResult<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(T>)>>)) |
Invokes the given action with the set result of the task when the task succeeded.
| |
OnResult<(Of <<'(T>)>>)(Task, Action<(Of <<'(T>)>>), DispatcherBase) |
Invokes the given action with the set result of the task when the task succeeded.
| |
OnResult<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(T>)>>), DispatcherBase) |
Invokes the given action with the set result of the task when the task succeeded.
| |
Then(Task, Task) |
Starts the given Task when this Task ended successfully.
| |
Then(Task, Task, DispatcherBase) |
Starts the given Task when this Task ended successfully.
| |
WaitAll |
Waits for the completion of all tasks in the Enumerable.
| |
WhenEnded(Task, Action) |
The given Action will be performed when the task ends.
| |
WhenEnded(Task, Action<(Of <<'(Task>)>>)) |
The given Action will be performed when the task ends.
| |
WhenEnded(Task, Action<(Of <<'(Task>)>>), DispatcherBase) |
The given Action will be performed when the task ends.
| |
WhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action) |
The given Action will be performed when the task ends.
| |
WhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) |
The given Action will be performed when the task ends.
| |
WhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) |
The given Action will be performed when the task ends.
| |
WhenFailed(Task, Action) |
The given Action will be performed when the task fails.
| |
WhenFailed(Task, Action<(Of <<'(Task>)>>)) |
The given Action will be performed when the task fails.
| |
WhenFailed(Task, Action<(Of <<'(Task>)>>), DispatcherBase) |
The given Action will be performed when the task fails.
| |
WhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action) |
The given Action will be performed when the task fails.
| |
WhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) |
The given Action will be performed when the task fails.
| |
WhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) |
The given Action will be performed when the task fails.
| |
WhenSucceeded(Task, Action) |
The given Action will be performed when the task succeeds.
| |
WhenSucceeded(Task, Action<(Of <<'(Task>)>>)) |
The given Action will be performed when the task succeeds.
| |
WhenSucceeded(Task, Action<(Of <<'(Task>)>>), DispatcherBase) |
The given Action will be performed when the task succeeds.
| |
WhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action) |
The given Action will be performed when the task succeeds.
| |
WhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>)) |
The given Action will be performed when the task succeeds.
| |
WhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase) |
The given Action will be performed when the task succeeds.
|
Extension Methods
Name | Description |
---|