mscorlib(4.0.0.0) API with additions
AsyncLocalValueChangedArgs.cs
1 namespace System.Threading
2 {
5  [__DynamicallyInvokable]
7  {
10  [__DynamicallyInvokable]
11  public T PreviousValue
12  {
13  [__DynamicallyInvokable]
14  get;
15  private set;
16  }
17 
20  [__DynamicallyInvokable]
21  public T CurrentValue
22  {
23  [__DynamicallyInvokable]
24  get;
25  private set;
26  }
27 
31  [__DynamicallyInvokable]
32  public bool ThreadContextChanged
33  {
34  [__DynamicallyInvokable]
35  get;
36  private set;
37  }
38 
39  internal AsyncLocalValueChangedArgs(T previousValue, T currentValue, bool contextChanged)
40  {
41  this = default(AsyncLocalValueChangedArgs<T>);
42  PreviousValue = previousValue;
43  CurrentValue = currentValue;
44  ThreadContextChanged = contextChanged;
45  }
46  }
47 }
The class that provides data change information to T:System.Threading.AsyncLocal`1 instances that reg...
bool ThreadContextChanged
Returns a value that indicates whether the value changes because of a change of execution context.