FrostingTaskLifetime<TContext>.

Teardown(TContext, ITaskTeardownContext) Method

Summary

This method is executed after each task have been run. If a task setup action or a task fails with or without recovery, the specified task teardown action will still be executed.
Namespace
Cake.Frosting
Containing Type
FrostingTaskLifetime<TContext>

Syntax

public abstract void Teardown(TContext context, ITaskTeardownContext info)

Parameters

Name Type Description
context TContext The context.
info ITaskTeardownContext The teardown information.

Return Value

Type Description
void