AsyncLocalValueChangedArgs<T>.ThreadContextChanged Propriedade

Definição

Retorna um valor que indica se o valor é alterado devido a uma alteração do contexto de execução.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

Valor da propriedade

Boolean

true Se o valor foi alterado devido a uma alteração de contexto de execução; caso contrário, false .true if the value changed because of a change of execution context; otherwise, false.

Comentários

O valor da propriedade é false se a AsyncLocal<T>.Value propriedade for alterada explicitamente.The property value is false if the AsyncLocal<T>.Value property is changed explicitly.

Aplica-se a