Share via


ExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue Property

Definition

Gets or sets a Boolean that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.

public:
 property bool FailTaskIfReturnCodeIsNotSuccessValue { bool get(); void set(bool value); };
public bool FailTaskIfReturnCodeIsNotSuccessValue { get; set; }
member this.FailTaskIfReturnCodeIsNotSuccessValue : bool with get, set
Public Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean

Property Value

true if the task fails if the process exit code is different from the value specified in SuccessValue; false if the task continues regardless of a mismatch between the process error code and the SuccessValue property.

Implements

Applies to