共用方式為


AsyncLocal<T>.Value Property

Definition

Gets or sets the value to associate with the current CallContext.

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

Property Value

T

Returns the value.

Applies to