CommonParameters.ErrorAction 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 the value of the ErrorAction parameter for the cmdlet.
public:
property System::Management::Automation::ActionPreference ErrorAction { System::Management::Automation::ActionPreference get(); void set(System::Management::Automation::ActionPreference value); };
public System.Management.Automation.ActionPreference ErrorAction { get; set; }
[System.Management.Automation.Alias(new System.String[] { "ea" })]
[System.Management.Automation.Parameter]
public System.Management.Automation.ActionPreference ErrorAction { get; set; }
member this.ErrorAction : System.Management.Automation.ActionPreference with get, set
[<System.Management.Automation.Alias(new System.String[] { "ea" })>]
[<System.Management.Automation.Parameter>]
member this.ErrorAction : System.Management.Automation.ActionPreference with get, set
Public Property ErrorAction As ActionPreference
Property Value
- Attributes
Remarks
This parameter tells the command what to do when an error occurs.