InvalidJobStateException
Class
Definition
Defines exception which is thrown when state of the PSJob is different from the expected state.
public class InvalidJobStateException : SystemException
- Inheritance
-
InvalidJobStateException
Constructors
| InvalidJobStateException() |
Creates a new instance of InvalidPSJobStateException class. |
| InvalidJobStateException(String) |
Creates a new instance of InvalidPSJobStateException class. |
| InvalidJobStateException(JobState, String) |
Creates a new instance of InvalidJobStateException class. |
| InvalidJobStateException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InvalidPSJobStateException class with serialized data. |
| InvalidJobStateException(String, Exception) |
Creates a new instance of InvalidPSJobStateException class. |
Properties
| CurrentState |
Gets CurrentState of the Job |