CakeTaskExtensions.

SetFinallyHandler(CakeTask, Func<ICakeContext, Task>) Method

Summary

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

Syntax

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

Parameters

Name Type Description
task CakeTask The task.
finallyHandler Func<ICakeContext, Task> The finally handler.

Return Value

Type Description
void