Freigeben über


PowerShell.Stop Method

Definition

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.

Applies to