System::Threading::SynchronizationContext::SetSynchronizationContext methode
SynchronizationContext::SetSynchronizationContext method
Stelt de synchronisatie‑context in voor de huidige thread.
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
- Class SynchronizationContext
- Class SynchronizationContext
- Namespace System::Threading
- Library Aspose.Page for C++