get_AsyncState()

Task::get_AsyncState() const method

Gets the user-defined state object associated with the task.

const SharedPtr<Object> & System::Threading::Tasks::Task::get_AsyncState() const

Return Value

SharedPtr<Object> The state object provided during construction

See Also