CoreTaskExtensions Class |
Namespace: Rackspace.Threading
The CoreTaskExtensions type exposes the following members.
Name | Description | |
---|---|---|
CatchTException(Task, ActionTask, TException) |
Synchronously execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the
antecedent task completes successfully, or if the Exception it
provides is not a TException wrapped in an
AggregateException, the status of the antecedent is directly applied to
the task returned by this method. Otherwise, the status of the cleanup operation is
directly applied to the task returned by this method.
| |
CatchTException(Task, FuncTask, TException, Task) |
Execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the
antecedent task completes successfully, or if the Exception it
provides is not a TException wrapped in an
AggregateException, the status of the antecedent is directly applied to
the task returned by this method. Otherwise, the status of the cleanup operation is
directly applied to the task returned by this method.
| |
CatchTException(Task, PredicateTException, ActionTask, TException) |
Synchronously execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the antecedent task
completes successfully, or if the Exception it provides is not a
TException wrapped in an AggregateException, or if the specified filter
does not match the exception instance, the status of the antecedent is directly applied to the task returned
by this method. Otherwise, the status of the cleanup operation is directly applied to the task returned by
this method.
| |
CatchTException(Task, PredicateTException, FuncTask, TException, Task) |
Execute an exception handling continuation when a task completes in the Canceled or
Faulted state. If the antecedent task completes successfully, or if the
Exception it provides is not a TException wrapped in an
AggregateException, or if the specified filter does not match the exception instance, the
status of the antecedent is directly applied to the task returned by this method. Otherwise, the status of
the cleanup operation is directly applied to the task returned by this method.
| |
CatchTException, TResult(TaskTResult, FuncTaskTResult, TException, TaskTResult) |
Execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the
antecedent task completes successfully, or if the Exception it
provides is not a TException wrapped in an
AggregateException, the status of the antecedent is directly applied to
the task returned by this method. Otherwise, the status of the cleanup operation is
directly applied to the task returned by this method.
| |
CatchTException, TResult(TaskTResult, FuncTaskTResult, TException, TResult) |
Synchronously execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the
antecedent task completes successfully, or if the Exception it
provides is not a TException wrapped in an
AggregateException, the status of the antecedent is directly applied to
the task returned by this method. Otherwise, the status of the cleanup operation is
directly applied to the task returned by this method.
| |
CatchTException, TResult(TaskTResult, PredicateTException, FuncTaskTResult, TException, TaskTResult) |
Execute an exception handling continuation when a task completes in the Canceled or
Faulted state. If the antecedent task completes successfully, or if the
Exception it provides is not a TException wrapped in an
AggregateException, or if the specified filter does not match the exception instance, the
status of the antecedent is directly applied to the task returned by this method. Otherwise, the status of
the cleanup operation is directly applied to the task returned by this method.
| |
CatchTException, TResult(TaskTResult, PredicateTException, FuncTaskTResult, TException, TResult) |
Synchronously execute an exception handling continuation when a task completes in the
Canceled or Faulted state. If the antecedent task
completes successfully, or if the Exception it provides is not a
TException wrapped in an AggregateException, or if the specified filter
does not match the exception instance, the status of the antecedent is directly applied to the task returned
by this method. Otherwise, the status of the cleanup operation is directly applied to the task returned by
this method.
| |
Finally(Task, ActionTask) |
Synchronously execute a cleanup continuation when a task completes, regardless of the
final Status of the task. If the cleanup action completes
successfully, the status of the antecedent is directly applied to the task returned by
this method. Otherwise, the status of the faulted or canceled cleanup operation is
directly applied to the task returned by this method.
| |
Finally(Task, FuncTask, Task) |
Execute a cleanup continuation task when a task completes, regardless of the final
Status of the antecedent task. If the cleanup action completes
successfully, the status of the antecedent is directly applied to the task returned by
this method. Otherwise, the status of the faulted or canceled cleanup operation is
directly applied to the task returned by this method.
| |
FinallyTResult(TaskTResult, ActionTaskTResult) |
Synchronously execute a cleanup continuation when a task completes, regardless of the
final Status of the task. If the cleanup action completes
successfully, the status of the antecedent is directly applied to the task returned by
this method. Otherwise, the status of the faulted or canceled cleanup operation is
directly applied to the task returned by this method.
| |
FinallyTResult(TaskTResult, FuncTaskTResult, Task) |
Execute a cleanup continuation task when a task completes, regardless of the final
Status of the antecedent task. If the cleanup action completes
successfully, the status of the antecedent is directly applied to the task returned by
this method. Otherwise, the status of the faulted or canceled cleanup operation is
directly applied to the task returned by this method.
| |
ObserveExceptionsTTask | ||
Select(Task, ActionTask) |
Synchronously execute a continuation when a task completes successfully.
| |
Select(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.
| |
SelectTResult(Task, FuncTask, TResult) |
Synchronously execute a continuation when a task completes successfully.
| |
SelectTSource(TaskTSource, ActionTaskTSource) |
Synchronously execute a continuation when a task completes successfully.
| |
SelectTResult(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.
| |
SelectTSource(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.
| |
SelectTSource, TResult(TaskTSource, FuncTaskTSource, TResult) |
Synchronously execute a continuation when a task completes successfully.
| |
SelectTSource, 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.
| |
Then(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.
| |
Then(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.
| |
ThenTResult(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.
| |
ThenTSource(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.
| |
ThenTResult(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.
| |
ThenTSource(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.
| |
ThenTSource, 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.
| |
ThenTSource, 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.
|