Share via


InvalidRunspacePoolStateException Class

Definition

Exception thrown when state of the runspace pool is different from expected state of runspace pool.

public ref class InvalidRunspacePoolStateException : SystemException
[System.Serializable]
public class InvalidRunspacePoolStateException : SystemException
public class InvalidRunspacePoolStateException : SystemException
[<System.Serializable>]
type InvalidRunspacePoolStateException = class
    inherit SystemException
type InvalidRunspacePoolStateException = class
    inherit SystemException
Public Class InvalidRunspacePoolStateException
Inherits SystemException
Inheritance
InvalidRunspacePoolStateException
Attributes

Constructors

InvalidRunspacePoolStateException()

Creates a new instance of InvalidRunspacePoolStateException class.

InvalidRunspacePoolStateException(SerializationInfo, StreamingContext)
Obsolete.

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

InvalidRunspacePoolStateException(String, Exception)

Creates a new instance of InvalidRunspacePoolStateException class.

InvalidRunspacePoolStateException(String)

Creates a new instance of InvalidRunspacePoolStateException class.

Properties

CurrentState

Access CurrentState of the runspace pool.

ExpectedState

Expected state of runspace pool by the operation which has thrown this exception.

Applies to