Cmdlet.StopProcessing Method

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 ()
protected void StopProcessing ()
protected function StopProcessing ()

Exception typeCondition

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.

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

© 2015 Microsoft