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