次の方法で共有


AsyncTaskMethodBuilder<TResult>.m_task field

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Represents the lazily initialized built task.

Namespace: System.Runtime.CompilerServices

Assembly: mscorlib (in mscorlib.dll)

Because you cannot access this internal member from the .NET Framework, the following syntax is provided in Common Intermediate Language (CIL).

Syntax

.field private class System.Threading.Tasks.Task`1<!TResult> m_task

See also