AsTask()

ValueTask::AsTask() const method

Converts this ValueTask to a shared pointer to Task.

TaskPtr System::Threading::Tasks::ValueTask::AsTask() const

Return Value

TaskPtr A shared pointer to a Task that represents this operation.

See Also