Click or drag to resize
CoreTaskExtensions Class
Provides extension methods for efficiently creating Task continuations, with automatic handling of faulted and cancelled antecedent tasks.
Inheritance Hierarchy
SystemObject
  net.openstack.CoreCoreTaskExtensions

Namespace: net.openstack.Core
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public static class CoreTaskExtensions
Methods
  NameDescription
Public methodStatic memberSelect(Task, ActionTask)
Synchronously execute a continuation when a task completes successfully.
Public methodStatic memberSelect(Task, ActionTask, Boolean)
Synchronously execute a continuation when a task completes. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberSelectTResult(Task, FuncTask, TResult)
Synchronously execute a continuation when a task completes successfully.
Public methodStatic memberSelectTSource(TaskTSource, ActionTaskTSource)
Synchronously execute a continuation when a task completes successfully.
Public methodStatic memberSelectTResult(Task, FuncTask, TResult, Boolean)
Synchronously execute a continuation when a task completes. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberSelectTSource(TaskTSource, ActionTaskTSource, Boolean)
Synchronously execute a continuation when a task completes. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberSelectTSource, TResult(TaskTSource, FuncTaskTSource, TResult)
Synchronously execute a continuation when a task completes successfully.
Public methodStatic memberSelectTSource, TResult(TaskTSource, FuncTaskTSource, TResult, Boolean)
Synchronously execute a continuation when a task completes. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberThen(Task, FuncTask, Task)
Execute a continuation task when a task completes successfully. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method.
Public methodStatic memberThen(Task, FuncTask, Task, Boolean)
Execute a continuation task when a task completes. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberThenTResult(Task, FuncTask, TaskTResult)
Execute a continuation task when a task completes successfully. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method.
Public methodStatic memberThenTSource(TaskTSource, FuncTaskTSource, Task)
Execute a continuation task when a task completes successfully. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method.
Public methodStatic memberThenTResult(Task, FuncTask, TaskTResult, Boolean)
Execute a continuation task when a task completes. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberThenTSource(TaskTSource, FuncTaskTSource, Task, Boolean)
Execute a continuation task when a task completes. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Public methodStatic memberThenTSource, TResult(TaskTSource, FuncTaskTSource, TaskTResult)
Execute a continuation task when a task completes successfully. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method.
Public methodStatic memberThenTSource, TResult(TaskTSource, FuncTaskTSource, TaskTResult, Boolean)
Execute a continuation task when a task completes. The continuation task is synchronously created by a continuation function, and then unwrapped to form the result of this method. The supportsErrors parameter specifies whether the continuation is executed if the antecedent task is faulted.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also