Windows Dev Center

JobStateInfo Constructor

Creates a new JobStateInfo object. The overloads of this constructer can create an object that contains only the status of the job or an object that contains the job status and the reason for the last change in status. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
JobStateInfo (JobState)Creates a new JobStateInfo object that contains the current status of the job. This constructor is introduced by Windows PowerShell 2.0.
JobStateInfo (JobState, Exception)Creates a new JobStateInfo object that contains the current status of the job and the reason why the job is in that state. This constructor is introduced by Windows PowerShell 2.0.


Show:
© 2015 Microsoft