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)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
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
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 PreviewSend comments about this topic to Microsoft.