Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Cmdlet.StopProcessing Method ()

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Stops processing records when the user stops the cmdlet asynchronously.

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

protected virtual void StopProcessing()

Exception Condition
Exception

The implementation of this method can throw any exception that is required.

For more information about testing to see whether the user has entered the key combination CTRL+C, see the Stopping property.

For more information about cmdlets, see Windows PowerShell Cmdlets.

Return to top

Community Additions

Show: