Megosztás a következőn keresztül:


m_stateObject Field

An object that represents data that the action will use.

Note

This information is specific to .NET Framework 4 and is subject to change in a future release.

Because you cannot access these members from the .NET Framework, this topic provides syntax in Microsoft intermediate language (MSIL). For more information about MSIL, see Compiling to MSIL.

Namespace:  System.Threading.Tasks

Assembly:  mscorlib (in mscorlib.dll)

.field assembly object m_stateObject

Remarks

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

See Also

Reference

Task Class