WaitPSJobCommand.StopProcessing Method

Stops processing records when the user stops the cmdlet asynchronously.

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Protected Overrides Sub StopProcessing
protected override void StopProcessing ()
protected:
virtual void StopProcessing () override
protected void StopProcessing ()
protected override function StopProcessing ()

Exceptions

Exception type Condition
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

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

WaitPSJobCommand Class
WaitPSJobCommand Members
Microsoft.PowerShell.Commands Namespace
Stopping

Other Resources

Windows PowerShell Cmdlets
Windows PowerShell SDK