共用方式為


AsyncLocal<T>.Value Property

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

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

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

Property Value

Type: T
Returns the value.

.NET Framework Security

See Also

Reference

AsyncLocal<T> Class

Microsoft.VisualStudio.Threading Namespace