InvalidRunspacePoolStateException Class

Definition

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

public class InvalidRunspacePoolStateException : SystemException
Inheritance
InvalidRunspacePoolStateException

Constructors

InvalidRunspacePoolStateException()

Creates a new instance of InvalidRunspacePoolStateException class.

InvalidRunspacePoolStateException(String)

Creates a new instance of InvalidRunspacePoolStateException class.

InvalidRunspacePoolStateException(SerializationInfo, StreamingContext)

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

InvalidRunspacePoolStateException(String, Exception)

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.