InvalidPipelineStateException Class

Definition

Defines exception which is thrown when state of the pipeline is different from expected state.

C++
public ref class InvalidPipelineStateException : SystemException
Inheritance
InvalidPipelineStateException
Attributes

Constructors

InvalidPipelineStateException()

Initializes a new instance of the InvalidPipelineStateException class.

InvalidPipelineStateException(String, Exception)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.

InvalidPipelineStateException(String)

Initializes a new instance of the InvalidPipelineStateException class with a specified error message.

Properties

CurrentState

Gets CurrentState of the pipeline.

ExpectedState

Gets ExpectedState of the pipeline.

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0