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)

'Usage

Me.StopProcessing

protected virtual void StopProcessing ()
protected void StopProcessing ()
protected function StopProcessing ()

Exception typeCondition
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.


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:
© 2014 Microsoft