Job::StateChanged Event

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Event fired when the status of the job changes, such as when the job has completed in all runspaces or failed in any one runspace. This event is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public:
event EventHandler<JobStateEventArgs^>^ StateChanged {
	void add(EventHandler<JobStateEventArgs^>^ value);
	void remove(EventHandler<JobStateEventArgs^>^ value);
}
Return to top

Community Additions

ADD
Show: