get_Result()

ResultTask::get_Result() method

Gets the result of the asynchronous operation.

T System::Threading::Tasks::ResultTask<T>::get_Result()

Return Value

T The result value produced by the task

Exceptions

ExceptionDescription
Ifthe task faulted, rethrows the captured exception
OperationCanceledExceptionIf the task was canceled

Remarks

This method blocks until the task completes if necessary

See Also