ExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.