InvalidPowerShellStateException InvalidPowerShellStateException InvalidPowerShellStateException Class

Definition

Defines exception which is thrown when state of the PowerShell is different from the expected state.

public class InvalidPowerShellStateException : SystemException
type InvalidPowerShellStateException = class
    inherit SystemException
Public Class InvalidPowerShellStateException
Inherits SystemException
Inheritance
InvalidPowerShellStateExceptionInvalidPowerShellStateExceptionInvalidPowerShellStateException

Constructors

InvalidPowerShellStateException() InvalidPowerShellStateException() InvalidPowerShellStateException()

Creates a new instance of InvalidPowershellStateException class.

InvalidPowerShellStateException(String) InvalidPowerShellStateException(String) InvalidPowerShellStateException(String)

Creates a new instance of InvalidPowershellStateException class.

InvalidPowerShellStateException(SerializationInfo, StreamingContext) InvalidPowerShellStateException(SerializationInfo, StreamingContext) InvalidPowerShellStateException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidPowerShellStateException class with serialized data.

InvalidPowerShellStateException(String, Exception) InvalidPowerShellStateException(String, Exception) InvalidPowerShellStateException(String, Exception)

Creates a new instance of InvalidPowershellStateException class.

Properties

CurrentState CurrentState CurrentState

Gets CurrentState of the powershell

Applies to