CmdletProvider.StopProcessing Method

Stops processing records when the user stops the provider asynchronously. This method is called by the provider infrastructure when the user cancels an operation.


Namespace: System.Management.Automation.Provider
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage

Me.StopProcessing

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

Exception typeCondition
Exception

The implementation of this method can discard any required exception.

For more information about verifying that the user has entered the key combination CTRL+C, see the Stopping property.

For more information about providers, see Windows PowerShell Providers.


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