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
Syntax

Visual Basic
Protected Overridable Sub StopProcessing
C#
protected virtual void StopProcessing ()
C++
protected:
virtual void StopProcessing ()
J#
protected void StopProcessing ()
JScript
protected function StopProcessing ()
Exceptions

Exception typeCondition
Exception

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

Remarks

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker