Summary
Initializes a new instance of the
TaskTeardownContext
class.
- Namespace
- Cake
.Core - Containing Type
- TaskTeardownContext
Syntax
public TaskTeardownContext(ICakeContext context, ICakeTaskInfo task, TimeSpan duration, bool skipped, Exception throwException)
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake Context. |
task | ICakeTaskInfo | The task. |
duration | TimeSpan | The duration of the task. |
skipped | bool | if set to true , the task was not executed. |
throwException | Exception | The exception that was thrown by the task. |
Return Value
Type | Description |
---|---|
void |