TypedAsyncResult<T>.End(IAsyncResult) Method

Definition

End should be called when the End function for the asynchronous operation is complete. It ensures the asynchronous operation is complete, and does some common validation.

C#
public static T End(IAsyncResult result);

Parameters

result
IAsyncResult

The IAsyncResult representing the status of an asynchronous operation.

Returns

T

The typed result of the asynchronous operation.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1