The TaskExtension type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAs<(Of <<'(T>)>>)
Converts this Task.
Public methodStatic memberAwait(Task, Task)
Starts this Task when the other Task ended successfully.
Public methodStatic memberAwait(Task, Task, DispatcherBase)
Starts this Task when the other Task ended successfully.
Public methodStatic memberContinueWhenAllEnded(IEnumerable<(Of <<'(Task>)>>), Action)
Starts the given Action when all Tasks in the Enumerable have ended.
Public methodStatic memberContinueWhenAllEnded(IEnumerable<(Of <<'(Task>)>>), Action<(Of <<'(IEnumerable<(Of <<'(Task>)>>)>)>>))
Starts the given Action when all Tasks in the Enumerable have ended.
Public methodStatic memberContinueWhenAnyEnded(IEnumerable<(Of <<'(Task>)>>), Action)
Starts the given Action when any Task in the Enumerable has ended.
Public methodStatic memberContinueWhenAnyEnded(IEnumerable<(Of <<'(Task>)>>), Action<(Of <<'(Task>)>>))
Starts the given Action when any Task in the Enumerable has ended.
Public methodStatic memberOnResult(Task, Action<(Of <<'(Object>)>>))
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberOnResult(Task, Action<(Of <<'(Object>)>>), DispatcherBase)
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberOnResult<(Of <<'(T>)>>)(Task, Action<(Of <<'(T>)>>))
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberOnResult<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(T>)>>))
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberOnResult<(Of <<'(T>)>>)(Task, Action<(Of <<'(T>)>>), DispatcherBase)
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberOnResult<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(T>)>>), DispatcherBase)
Invokes the given action with the set result of the task when the task succeeded.
Public methodStatic memberThen(Task, Task)
Starts the given Task when this Task ended successfully.
Public methodStatic memberThen(Task, Task, DispatcherBase)
Starts the given Task when this Task ended successfully.
Public methodStatic memberWaitAll
Waits for the completion of all tasks in the Enumerable.
Public methodStatic memberWhenEnded(Task, Action)
The given Action will be performed when the task ends.
Public methodStatic memberWhenEnded(Task, Action<(Of <<'(Task>)>>))
The given Action will be performed when the task ends.
Public methodStatic memberWhenEnded(Task, Action<(Of <<'(Task>)>>), DispatcherBase)
The given Action will be performed when the task ends.
Public methodStatic memberWhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action)
The given Action will be performed when the task ends.
Public methodStatic memberWhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>))
The given Action will be performed when the task ends.
Public methodStatic memberWhenEnded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase)
The given Action will be performed when the task ends.
Public methodStatic memberWhenFailed(Task, Action)
The given Action will be performed when the task fails.
Public methodStatic memberWhenFailed(Task, Action<(Of <<'(Task>)>>))
The given Action will be performed when the task fails.
Public methodStatic memberWhenFailed(Task, Action<(Of <<'(Task>)>>), DispatcherBase)
The given Action will be performed when the task fails.
Public methodStatic memberWhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action)
The given Action will be performed when the task fails.
Public methodStatic memberWhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>))
The given Action will be performed when the task fails.
Public methodStatic memberWhenFailed<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase)
The given Action will be performed when the task fails.
Public methodStatic memberWhenSucceeded(Task, Action)
The given Action will be performed when the task succeeds.
Public methodStatic memberWhenSucceeded(Task, Action<(Of <<'(Task>)>>))
The given Action will be performed when the task succeeds.
Public methodStatic memberWhenSucceeded(Task, Action<(Of <<'(Task>)>>), DispatcherBase)
The given Action will be performed when the task succeeds.
Public methodStatic memberWhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action)
The given Action will be performed when the task succeeds.
Public methodStatic memberWhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>))
The given Action will be performed when the task succeeds.
Public methodStatic memberWhenSucceeded<(Of <<'(T>)>>)(Task<(Of <<'(T>)>>), Action<(Of <<'(Task<(Of <<'(T>)>>)>)>>), DispatcherBase)
The given Action will be performed when the task succeeds.

Extension Methods

  NameDescription

See Also