共用方式為


PowerShell.HadErrors Property

Definition

If an error occurred while executing the pipeline, this will be set to true.

public:
 property bool HadErrors { bool get(); };
public:
 property bool HadErrors { bool get(); };
public bool HadErrors { get; }
member this.HadErrors : bool
Public ReadOnly Property HadErrors As Boolean

Property Value

Applies to