共用方式為


Job.StateChanged Event

Definition

Event raised when state of the job changes.

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

Event Type

Applies to