TplExtensions::ApplyResultTo<T> Method (Task<T>^, TaskCompletionSource<T>^)
Visual Studio 2015
Applies one task's results to another.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public: generic<typename T> [ExtensionAttribute] static void ApplyResultTo( Task<T>^ task, TaskCompletionSource<T>^ tcs )
Parameters
- task
-
Type:
System.Threading.Tasks::Task<T>^
The task whose completion should be applied to another.
- tcs
-
Type:
System.Threading.Tasks::TaskCompletionSource<T>^
The task that should receive the completion status.
Type Parameters
- T
The type of value returned by a task.
Show: