## SynchronizationContext::SetSynchronizationContext method


يضبط سياق المزامنة للخلية الحالية.

```cpp
static void System::Threading::SynchronizationContext::SetSynchronizationContext(const SharedPtr<SynchronizationContext> &syncContext)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| syncContext | const SharedPtr\<SynchronizationContext\>\& | سياق المزامنة لتعيينه للخط الحالي. |
## ملاحظات



تمرير nullptr سيؤدي إلى مسح سياق المزامنة للخط الحالي.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SynchronizationContext](../)
* Class [SynchronizationContext](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Font for C++](../../../)
