This content is part of a third party extension that is not supported by the Cake project.
Summary
Allows registration of an action that's executed after each task has been run.
If a task setup action or a task fails with or without recovery, the specified task teardown action will still be
executed.
- Assembly
- Cake
.Module .Shared .dll - Namespace
- Cake
.Module .Shared - Containing Type
- CakeEngineBase
Syntax
public void RegisterTaskTeardownAction(Action<ITaskTeardownContext> action)
Parameters
| Name | Type | Description |
|---|---|---|
| action | Action |
The action to be executed. |
Return Value
| Type | Description |
|---|---|
| void |
