mscorlib(4.0.0.0) API with additions
|
Represents ambient data that is local to a given asynchronous control flow, such as an asynchronous method. More...
Public Member Functions | |
AsyncLocal () | |
Instantiates an T:System.Threading.AsyncLocal`1 instance that does not receive change notifications. More... | |
AsyncLocal (Action< AsyncLocalValueChangedArgs< T >> valueChangedHandler) | |
Instantiates an T:System.Threading.AsyncLocal`1 local instance that receives change notifications. More... | |
Properties | |
T | Value [get, set] |
Gets or sets the value of the ambient data. More... | |
Represents ambient data that is local to a given asynchronous control flow, such as an asynchronous method.
T | The type of the ambient data. |
Definition at line 8 of file AsyncLocal.cs.
System.Threading.AsyncLocal< T >.AsyncLocal | ( | ) |
Instantiates an T:System.Threading.AsyncLocal`1 instance that does not receive change notifications.
Definition at line 39 of file AsyncLocal.cs.
System.Threading.AsyncLocal< T >.AsyncLocal | ( | Action< AsyncLocalValueChangedArgs< T >> | valueChangedHandler | ) |
Instantiates an T:System.Threading.AsyncLocal`1 local instance that receives change notifications.
valueChangedHandler | The delegate that is called whenever the current value changes on any thread. |
Definition at line 47 of file AsyncLocal.cs.
|
getset |
Gets or sets the value of the ambient data.
Definition at line 17 of file AsyncLocal.cs.