Summary
Sets delegate whether the exit code from the tool process causes an exception to be thrown.
- Namespace
- Cake
.Core .Tooling - Containing Type
- Tool
Settings Extensions
Syntax
public static T WithHandleExitCode<T>(this T toolSettings, Func<int, bool> handleExitCode)
where T : ToolSettings
Type Parameters
Name | Description |
---|---|
T | The ToolSettings type. |
Parameters
Name | Type | Description |
---|---|---|
toolSettings | T | The tools settings. |
handleExitCode | Func |
The tool handle exit code delegate. |
Return Value
Type | Description |
---|---|
T | The tools settings. |