語言

AsyncLocal<T>.Value 屬性

定義

取得或設定環境資料的數值。

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

屬性值

T

環境數據的價值。 若未設定值,回傳值為 default(T)。

適用於