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 The state object provided during construction

See Also