Upravit

Sdílet prostřednictvím


AsyncLocalValueChangedArgs<T>.ThreadContextChanged Property

Definition

Returns a value that indicates whether the value changes because of a change of execution context.

public:
 property bool ThreadContextChanged { bool get(); };
public bool ThreadContextChanged { get; }
member this.ThreadContextChanged : bool
Public ReadOnly Property ThreadContextChanged As Boolean

Property Value

true if the value changed because of a change of execution context; otherwise, false.

Remarks

The property value is false if the AsyncLocal<T>.Value property is changed explicitly.

Applies to