Share via


AsyncLazy<T>.RevertRelevance Struct

Definition

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.

Applies to