Summary
Sets the task's finally handler.
- Namespace
- Cake
.Core - Containing Type
- CakeTaskExtensions
Syntax
public static void SetFinallyHandler(this CakeTask task, Func<ICakeContext, Task> finallyHandler)
Parameters
| Name | Type | Description |
|---|---|---|
| task | CakeTask | The task. |
| finallyHandler | Func |
The finally handler. |
Return Value
| Type | Description |
|---|---|
| void |
