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