AsyncLocal<T>.Value Property

Definition

Gets or sets the value of the ambient data.

public:
 property T Value { T get(); void set(T value); };
public T Value { get; set; }
member this.Value : 'T with get, set
Public Property Value As T

Property Value

T

The value of the ambient data. If no value has been set, the returned value is default(T).

Applies to