Condividi tramite


RunspacePool.EndClose(IAsyncResult) Method

Definition

Waits for the pending asynchronous BeginClose to complete.

public:
 void EndClose(IAsyncResult ^ asyncResult);
public void EndClose (IAsyncResult asyncResult);
member this.EndClose : IAsyncResult -> unit
Public Sub EndClose (asyncResult As IAsyncResult)

Parameters

asyncResult
IAsyncResult

Exceptions

asyncResult is a null reference.

asyncResult object was not created by calling BeginClose on this runspacepool instance.

Applies to