InvokeCommandCommand.StopProcessing Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when the user sends a stop signal to the cmdlet. The cmdlet will not exit until it has completed executing the command on all the runspaces. However, when a stop signal is sent, execution needs to be stopped on the pipelines corresponding to these runspaces.
protected:
override void StopProcessing();
protected:
override void StopProcessing();
override void StopProcessing();
protected override void StopProcessing ();
override this.StopProcessing : unit -> unit
Protected Overrides Sub StopProcessing ()
Remarks
This is called from a separate thread so need to worry about concurrency issues