Delen via


JoinableTask<T>.Task Property

Gets the asynchronous task that completes when the asynchronous operation completes.

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

Syntax

'Declaration
Public ReadOnly Property Task As Task(Of T)
public Task<T> Task { get; }
public:
property Task<T>^ Task {
    Task<T>^ get ();
}
member Task : Task<'T> with get
function get Task () : Task<T>

Property Value

Type: System.Threading.Tasks.Task<T>
Returns Task<TResult>.

.NET Framework Security

See Also

Reference

JoinableTask<T> Class

Microsoft.VisualStudio.Threading Namespace