Waits for the pending asynchronous execution to complete.

C# | Visual Basic | Visual C++ | J# |
T EndExecute<T>( IAsyncResult<T> asyncResult )
Function EndExecute(Of T) ( _ asyncResult As IAsyncResult(Of T) _ ) As T
generic<typename T> T EndExecute( IAsyncResult<T>^ asyncResult )

- T
- Type of task execution result.

- asyncResult (IAsyncResult<(Of <(<'T>)>)>)
- The reference to the pending asynchornous request to wait for.

Execution result.