CoreTaskExtensionsCatch Method |
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, 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(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, 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.
|