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.

public:
 static T End(IAsyncResult ^ result);
public static T End (IAsyncResult result);
static member End : IAsyncResult -> 'T
Public Shared Function End (result As IAsyncResult) As T

Parameters

result
IAsyncResult

The IAsyncResult representing the status of an asynchronous operation.

Returns

T

The typed result of the asynchronous operation.

Applies to