PSJobStateInfo Class

Provides information about the state of a PSJob, such as the current status and the reason the PSJob is in that status.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Public NotInheritable Class PSJobStateInfo
public sealed class PSJobStateInfo
public ref class PSJobStateInfo sealed
public final class PSJobStateInfo
public final class PSJobStateInfo

Remarks

PSJobs are also referred to as background jobs because they execute a command or expression asynchronously in the background without interacting with the console.

Inheritance Hierarchy

System.Object
  System.Management.Automation.PSJobStateInfo

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

PSJobStateInfo Members
System.Management.Automation Namespace