Converts this Task.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static Task<T> As<T>( this Task that ) |
| Visual Basic |
|---|
<ExtensionAttribute> _ Public Shared Function As(Of T) ( _ that As Task _ ) As Task(Of T) |
| Visual C++ |
|---|
[ExtensionAttribute] public: generic<typename T> static Task<T>^ As( Task^ that ) |
Parameters
- that
- Type: UnityThreading..::..Task
Type Parameters
- T