PSEngineEvent Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constants that represent PowerShell engine events.
public ref class PSEngineEvent sealedpublic sealed class PSEngineEventtype PSEngineEvent = classPublic NotInheritable Class PSEngineEvent- Inheritance
- 
				PSEngineEvent
Fields
| Exiting | Called when the PowerShell engine is exiting. | 
| OnIdle | Call when the PowerShell engine is idle. | 
| WorkflowJobStartEvent | Called when a workflow job is started from a PowerShell script. |