共用方式為


PowerShellProcessInstance.HasExited Property

Definition

Gets a value indicating whether the associated process has been terminated. true if the operating system process referenced by the Process component has terminated; otherwise, false.

public:
 property bool HasExited { bool get(); };
public:
 property bool HasExited { bool get(); };
public bool HasExited { get; }
member this.HasExited : bool
Public ReadOnly Property HasExited As Boolean

Property Value

Applies to