Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AsyncTaskMethodBuilder.Task Property

Gets the task for this builder.

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

public Task Task { get; }

Property Value

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

ExceptionCondition
InvalidOperationException

The builder is not initialized.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft