Struct JoinableTaskContext.RevertRelevance
- Namespace
 - Microsoft.VisualStudio.Threading
 
- Assembly
 - Microsoft.VisualStudio.Threading.dll
 
A structure that clears CallContext and SynchronizationContext async/thread statics and restores those values when this structure is disposed.
public readonly struct JoinableTaskContext.RevertRelevance : IDisposable
  - Implements
 
- Inherited Members
 
Methods
Dispose()
Reverts the async local and thread static values to their original values.
public void Dispose()