CakeTaskExtensions.

SetFinallyHandler(CakeTask, Action<ICakeContext>) Method

Summary

Sets the task's finally handler.
Namespace
Cake.Core
Containing Type
CakeTaskExtensions

Syntax

public static void SetFinallyHandler(this CakeTask task, Action<ICakeContext> finallyHandler)

Parameters

Name Type Description
task CakeTask The task.
finallyHandler Action<ICakeContext> The finally handler.

Return Value

Type Description
void