次の方法で共有


Exec.IgnoreExitCode Property

Definition

Gets or sets a Boolean value that indicates whether the Exec task should ignore the exit code provided by the executed command (true) or should return false if the executed command returns a non-zero exit code (false).

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool IgnoreExitCode { bool get(); void set(bool value); };
public bool IgnoreExitCode { get; set; }
public bool IgnoreExitCode { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.IgnoreExitCode : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IgnoreExitCode : bool with get, set
Public Property IgnoreExitCode As Boolean

Property Value

true if the Exec task should ignore the exit code provided by the executed command; false if the Exec task should return false if the executed command returns a non-zero exit code.

Attributes

Applies to