Method Failure
Failure(string)
Get a build result representing a failure.
Declaration
public BuildPipelineResult Failure(string reason)
Parameters
Type | Name | Description |
---|---|---|
string | reason | The reason of the failure. |
Returns
Type | Description |
---|---|
BuildPipelineResult | A new build result instance. |
Failure(Exception)
Get a build result representing a failure.
Declaration
public BuildPipelineResult Failure(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | The exception that was thrown. |
Returns
Type | Description |
---|---|
BuildPipelineResult | A new build result instance. |