## SynchronizationContext::SetSynchronizationContext method


Stelt de synchronisatie‑context in voor de huidige thread.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| syncContext | const SharedPtr\<SynchronizationContext\>\& | De synchronisatiecontext die moet worden ingesteld voor de huidige thread. |
## Opmerkingen



Het doorgeven van nullptr zal de synchronisatiecontext voor de huidige thread wissen.

## Zie ook

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