Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InvalidPowerShellStateException Constructor

Creates a new InvalidPowerShellStateException object. The variants of this constructor can create an empty object, an object that contains an exception message, and more. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
InvalidPowerShellStateException ()Creates a new InvalidPowerShellStateException object that is empty. This constructor is introduced by Windows PowerShell 2.0.
InvalidPowerShellStateException (SerializationInfo, StreamingContext)Creates a new InvalidPowerShellStateException object that contains information that is read from the provided serialization information. This constructor is introduced by Windows PowerShell 2.0.
InvalidPowerShellStateException (String)Creates a new instance of the InvalidPowerShellStateException class with an exception message. This constructor is introduced by Windows PowerShell 2.0.
InvalidPowerShellStateException (String, Exception)Creates a new InvalidPowerShellStateException object that contains an exception message and the inner exception that caused this exception to be thrown. This constructor is introduced by Windows PowerShell 2.0.


Show:
© 2015 Microsoft