CakeTaskBuilderOfTExtensions.

ContinueOnError<TData>(CakeTaskBuilder<TData>) Method

Summary

Adds an indication to the task that a thrown exception will not halt the script execution.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderOfTExtensions

Syntax

public static CakeTaskBuilder<TData> ContinueOnError<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.