## TaskScheduler::get_Current method


Gets the [TaskScheduler](../) associated with the currently executing task.

```cpp
static SharedPtr<TaskScheduler> System::Threading::Tasks::TaskScheduler::get_Current()
```


### ReturnValue

The [TaskScheduler](../) associated with the currently executing task.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TaskScheduler](../)
* Class [TaskScheduler](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
