System::Threading::SynchronizationContext::SetSynchronizationContext Methode
SynchronizationContext::SetSynchronizationContext method
Setzt den Synchronisationskontext für den aktuellen Thread.
static void System::Threading::SynchronizationContext::SetSynchronizationContext(const SharedPtr<SynchronizationContext> &syncContext)
| Parameter | Typ | Beschreibung |
|---|---|---|
| syncContext | const SharedPtr<SynchronizationContext>& | Der Synchronisationskontext, der für den aktuellen Thread festgelegt werden soll. |
Hinweise
Das Übergeben von nullptr löscht den Synchronisationskontext für den aktuellen Thread.
Siehe auch
- Typedef SharedPtr
- Class SynchronizationContext
- Class SynchronizationContext
- Namespace System::Threading
- Library Aspose.Font for C++