PowerShell.EndStop Method

Definition

Waits for the pending asynchronous BeginStop to complete.

public void EndStop (IAsyncResult asyncResult);
Parameters
asyncResult
IAsyncResult

Instance of IAsyncResult returned by BeginStop.

Exceptions

asyncResult is a null reference.

asyncResult object was not created by calling BeginStop on this PowerShell instance.