Export (0) Print
Expand All

PipelineStoppedException Class

The exception that is thrown when a cmdlet or a Windows PowerShell provider attempts to write to the pipeline or perform a number of other Windows PowerShell operations after the pipeline has been terminated. The pipeline could have been terminated before the call was made or during the call.


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

'Usage
Dim instance As PipelineStoppedException

[SerializableAttribute] 
public class PipelineStoppedException : RuntimeException
/** @attribute SerializableAttribute() */ 
public class PipelineStoppedException extends RuntimeException
SerializableAttribute 
public class PipelineStoppedException extends RuntimeException

Cmdlets and providers do not have to catch this exception unless they have cleanup operations to perform. They can simply allow this exception to propagate up, and the Windows PowerShell runtime will catch the exception.


System.Object
   System.Exception
     System.SystemException
       System.Management.Automation.RuntimeException
        System.Management.Automation.PipelineStoppedException

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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft