Share via


PSActivity.WarningAction Property

Definition

Determines how warnings should be handled by the activity.

public:
 property System::Activities::InArgument<Nullable<System::Management::Automation::ActionPreference>> ^ WarningAction { System::Activities::InArgument<Nullable<System::Management::Automation::ActionPreference>> ^ get(); void set(System::Activities::InArgument<Nullable<System::Management::Automation::ActionPreference>> ^ value); };
[System.ComponentModel.DefaultValue(null)]
public System.Activities.InArgument<System.Management.Automation.ActionPreference?> WarningAction { get; set; }
[<System.ComponentModel.DefaultValue(null)>]
member this.WarningAction : System.Activities.InArgument<Nullable<System.Management.Automation.ActionPreference>> with get, set
Public Property WarningAction As InArgument(Of Nullable(Of ActionPreference))

Property Value

Attributes

Applies to