TYPE
AsyncLocal<T>
Holds ambient data associated with the flowing execution context.
Formal Syntax & Structure
csharp syntaxcsharp
new AsyncLocal<T>()Working Example
Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.var label = new AsyncLocal<string?>();