Method Failure
Failure(BuildConfiguration, RunStep, string)
Create a new instance of RunStepResult that represent a failed execution.
Declaration
public static RunStepResult Failure(BuildConfiguration config, RunStep step, string message)
Parameters
Type | Name | Description |
---|---|---|
BuildConfiguration | config | The BuildConfiguration used by the RunStep. |
RunStep | step | The RunStep that was executed. |
string | message | The failure message. |
Returns
Type | Description |
---|---|
RunStepResult | A new RunStepResult instance. |
Failure(BuildConfiguration, RunStep, Exception)
Create a new instance of RunStepResult that represent a failed execution.
Declaration
public static RunStepResult Failure(BuildConfiguration config, RunStep step, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
BuildConfiguration | config | The BuildConfiguration used by the RunStep. |
RunStep | step | The RunStep that was executed. |
Exception | exception | The exception. |
Returns
Type | Description |
---|---|
RunStepResult | A new RunStepResult instance. |