AsyncLazy<T>.RevertRelevance Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A structure that hides relevance of a block of code from a particular AsyncLazy<T> and the JoinableTaskContext it was created with.
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AsyncLazy<T>.RevertRelevance : IDisposable
[<System.Runtime.CompilerServices.IsReadOnly>]
type AsyncLazy<'T>.RevertRelevance = struct
interface IDisposable
Public Structure AsyncLazy(Of T).RevertRelevance
Implements IDisposable
Type Parameters
- T
- Inheritance
-
AsyncLazy<T>.RevertRelevance
- Attributes
- Implements
Methods
Dispose() |
Reverts the async local and thread static values to their original values. |