## SynchronizationContext::get_Current method


Gets the synchronization context for the current thread.

```cpp
static const SharedPtr<SynchronizationContext> & System::Threading::SynchronizationContext::get_Current()
```


### ReturnValue

[SharedPtr<SynchronizationContext>](../../../system/sharedptr/) A shared pointer to the current thread's synchronization context.
## Remarks



Returns null if no synchronization context has been set for the current thread. 

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SynchronizationContext](../)
* Class [SynchronizationContext](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PDF for C++](../../../)
