InvalidPipelineStateException Class

Exception thrown when the pipeline is in a state that is not valid for the requested action.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As InvalidPipelineStateException

[SerializableAttribute] 
public class InvalidPipelineStateException : SystemException
/** @attribute SerializableAttribute() */ 
public class InvalidPipelineStateException extends SystemException
SerializableAttribute 
public class InvalidPipelineStateException extends SystemException

For example, this exception can be thrown when trying to invoke the pipeline when it is not in the NotStarted state.


System.Object
   System.Exception
     System.SystemException
      System.Management.Automation.Runspaces.InvalidPipelineStateException

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft