Table of Contents

Struct AsyncLazy<T>.RevertRelevance

Namespace
Microsoft.VisualStudio.Threading
Assembly
Microsoft.VisualStudio.Threading.dll

A structure that hides relevance of a block of code from a particular AsyncLazy<T> and the JoinableTaskContext it was created with.

public readonly struct AsyncLazy<T>.RevertRelevance : IDisposable
Implements
Inherited Members

Methods

Dispose()

Reverts the async local and thread static values to their original values.

public void Dispose()