CakeTaskBuilderOfTExtensions.

DeferOnError<TData>(CakeTaskBuilder<TData>) Method

Summary

Defers all exceptions until after all actions for this task have completed.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderOfTExtensions

Syntax

public static CakeTaskBuilder<TData> DeferOnError<TData>(this CakeTaskBuilder<TData> builder) 
    where TData : class

Type Parameters

Name Description
TData The type of the data context.

Parameters

Name Type Description
builder CakeTaskBuilder<TData> The task builder.

Return Value

Type Description
CakeTaskBuilder<TData> The same CakeTaskBuilder<TData> instance so that multiple calls can be chained.