Partager via


RunspacePool.EndOpen(IAsyncResult) Method

Definition

Waits for the pending asynchronous BeginOpen to complete.

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

Parameters

asyncResult
IAsyncResult

Exceptions

asyncResult is a null reference.

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

RunspacePoolState is not BeforeOpen.

Remarks

TODO: Behavior if EndOpen is called multiple times.

Applies to