InvalidJobStateException Class

The exception that is thrown when the state of the Job object is different from the expected state. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As InvalidJobStateException

[SerializableAttribute] 
public class InvalidJobStateException : SystemException
/** @attribute SerializableAttribute() */ 
public class InvalidJobStateException extends SystemException
SerializableAttribute 
public class InvalidJobStateException extends SystemException

System.Object
   System.Exception
     System.SystemException
      System.Management.Automation.InvalidJobStateException

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

 

Target Platforms


Show:
© 2015 Microsoft