InvalidJobStateException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines exception which is thrown when state of the PSJob is different from the expected state.
public ref class InvalidJobStateException : SystemException
[System.Serializable]
public class InvalidJobStateException : SystemException
public class InvalidJobStateException : SystemException
[<System.Serializable>]
type InvalidJobStateException = class
inherit SystemException
type InvalidJobStateException = class
inherit SystemException
Public Class InvalidJobStateException
Inherits SystemException
- Inheritance
-
InvalidJobStateException
- Attributes
Constructors
InvalidJobStateException() |
Creates a new instance of InvalidPSJobStateException class. |
InvalidJobStateException(JobState, String) |
Creates a new instance of InvalidJobStateException class. |
InvalidJobStateException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the InvalidPSJobStateException class with serialized data. |
InvalidJobStateException(String, Exception) |
Creates a new instance of InvalidPSJobStateException class. |
InvalidJobStateException(String) |
Creates a new instance of InvalidPSJobStateException class. |
Properties
CurrentState |
Gets CurrentState of the Job. |