FrostingLifetime<TContext>.

Teardown(TContext, ITeardownContext) Method

Summary

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

Syntax

public abstract void Teardown(TContext context, ITeardownContext info)

Parameters

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

Return Value

Type Description
void