The given Action will be performed when the task succeeds.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static Task<T> WhenSucceeded<T>(
this Task<T> task,
Action action
)
|
Type Parameters
Return Value
This task.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Task<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
or
.
See Also