RunspacePool.EndOpen(IAsyncResult) 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.
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.