CoreTaskExtensionsFinally Method |
Name | Description | |
---|---|---|
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.
|