Partilhar via


ObjectEventRegistrationBase.Action Property

Definition

Parameter for any action to be invoked when the event arrives.

public:
 property System::Management::Automation::ScriptBlock ^ Action { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public System.Management.Automation.ScriptBlock Action { get; set; }
[System.Management.Automation.Parameter(Position=101)]
public System.Management.Automation.ScriptBlock Action { get; set; }
member this.Action : System.Management.Automation.ScriptBlock with get, set
[<System.Management.Automation.Parameter(Position=101)>]
member this.Action : System.Management.Automation.ScriptBlock with get, set
Public Property Action As ScriptBlock

Property Value

Attributes

Applies to