InvalidRunspaceStateException 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.
Exception thrown when state of the runspace is different from expected state of runspace.
public ref class InvalidRunspaceStateException : SystemException
[System.Serializable]
public class InvalidRunspaceStateException : SystemException
public class InvalidRunspaceStateException : SystemException
[<System.Serializable>]
type InvalidRunspaceStateException = class
inherit SystemException
type InvalidRunspaceStateException = class
inherit SystemException
Public Class InvalidRunspaceStateException
Inherits SystemException
- Inheritance
-
InvalidRunspaceStateException
- Attributes
Constructors
InvalidRunspaceStateException() |
Initializes a new instance of InvalidRunspaceStateException. |
InvalidRunspaceStateException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the InvalidRunspaceStateException class with serialized data. |
InvalidRunspaceStateException(String, Exception) |
Initializes a new instance of the InvalidRunspaceStateException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
InvalidRunspaceStateException(String) |
Initializes a new instance of InvalidRunspaceStateException with a specified error message. |
Properties
CurrentState |
Access CurrentState of the runspace. |
ExpectedState |
Expected state of runspace by the operation which has thrown this exception. |