AsyncState Property

Task Parallel System.Threading

Gets the state object supplied when the Task was created, or null if none was supplied.

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property AsyncState As Object
C#
public Object AsyncState { get; }

Implements

IAsyncResult..::.AsyncState

See Also