System::Threading::SynchronizationContext::SetSynchronizationContext method
SynchronizationContext::SetSynchronizationContext method
Sets the synchronization context for the current thread.
static void System::Threading::SynchronizationContext::SetSynchronizationContext(const SharedPtr<SynchronizationContext> &syncContext)
| Parameter | Type | Description |
|---|---|---|
| syncContext | const SharedPtr<SynchronizationContext>& | The synchronization context to set for the current thread. |
Remarks
Passing nullptr will clear the synchronization context for the current thread.
See Also
- Typedef SharedPtr
- Class SynchronizationContext
- Class SynchronizationContext
- Namespace System::Threading
- Library Aspose.PDF for C++