PowerShell.Stop 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.
Stop the currently running command synchronously.
public:
void Stop();
public:
void Stop();
void Stop();
public void Stop ();
member this.Stop : unit -> unit
Public Sub Stop ()
Exceptions
Object is disposed.
Remarks
When used with Invoke(), that call will return a partial result. When used with InvokeAsync(), that call will throw a PipelineStoppedException.