共用方式為


Runspace.StateChanged Event

Definition

Event raised when RunspaceState changes.

public:
 abstract event EventHandler<System::Management::Automation::Runspaces::RunspaceStateEventArgs ^> ^ StateChanged;
public abstract event EventHandler<System.Management.Automation.Runspaces.RunspaceStateEventArgs> StateChanged;
member this.StateChanged : EventHandler<System.Management.Automation.Runspaces.RunspaceStateEventArgs> 
Public MustOverride Custom Event StateChanged As EventHandler(Of RunspaceStateEventArgs) 
Public MustOverride Event StateChanged As EventHandler(Of RunspaceStateEventArgs) 

Event Type

Applies to