InvalidPowerShellStateException 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 PowerShell is different from the expected state.
public ref class InvalidPowerShellStateException : SystemException
[System.Serializable]
public class InvalidPowerShellStateException : SystemException
public class InvalidPowerShellStateException : SystemException
[<System.Serializable>]
type InvalidPowerShellStateException = class
inherit SystemException
type InvalidPowerShellStateException = class
inherit SystemException
Public Class InvalidPowerShellStateException
Inherits SystemException
- Inheritance
-
InvalidPowerShellStateException
- Attributes
Constructors
InvalidPowerShellStateException() |
Creates a new instance of InvalidPowershellStateException class. |
InvalidPowerShellStateException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the InvalidPowerShellStateException class with serialized data. |
InvalidPowerShellStateException(String, Exception) |
Creates a new instance of InvalidPowershellStateException class. |
InvalidPowerShellStateException(String) |
Creates a new instance of InvalidPowershellStateException class. |
Properties
CurrentState |
Gets CurrentState of the powershell. |