AsyncLazy<T>::GetValueAsync Method ()

 

Gets the task that produces or has produced the value.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public:
Task<T>^ GetValueAsync()

Return Value

Type: System.Threading.Tasks::Task<T>^

Returns a task whose result is the lazily constructed value.

Exception Condition
InvalidOperationException

Thrown when the value factory calls GetValueAsyncon this instance.

Return to top
Show: