InvokeCommandCommand.StopProcessing Method

Definition

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

Applies to