共用方式為


PSEngineEvent Class

Definition

Constants that represent PowerShell engine events.

public ref class PSEngineEvent sealed
public sealed class PSEngineEvent
type PSEngineEvent = class
Public 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.

Applies to