Click or drag to resize
CoreTaskExtensionsCatch Method
Overload List
  NameDescription
Public methodStatic memberCatchTException(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.
Public methodStatic memberCatchTException(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.
Public methodStatic memberCatchTException, 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.
Public methodStatic memberCatchTException, 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.
Public methodStatic memberCatchTException(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.
Public methodStatic memberCatchTException(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.
Public methodStatic memberCatchTException, 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.
Public methodStatic memberCatchTException, 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.
Top
See Also