SPCmdlet.StopProcessing method
Stops record processing in cases where the user stops the cmdlet asynchronously. This method is called by PowerShell when the user strikes the keys Ctrl-C.
Namespace: Microsoft.SharePoint.PowerShell
Assembly: Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)
Syntax
'Declaration
Protected Overrides NotOverridable Sub StopProcessing
'Usage
Me.StopProcessing()
protected override sealed void StopProcessing()