Task Property
Collapse the table of content
Expand the table of content

AsyncTaskMethodBuilder<TResult>.Task Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the task for this builder.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public Task<TResult> Task { get; }

Property Value

Type: System.Threading.Tasks.Task<TResult>
The task for this builder.

This type and its members are intended for use by the compiler.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft