Share via


m_stateObject 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

An object that represents data that the action will use.

Namespace: System.Threading.Tasks

Assembly: mscorlib (in mscorlib.dll)

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

Syntax

.field assembly object m_stateObject

Remarks

This is the state parameter in the Task constructor. It is also the backing field for the System.Threading.Tasks.Task.AsyncState property.

See also