Compartir a través de


InvalidRunspaceStateException Class

Definition

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.

Applies to