Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AsyncLocal<T> Constructor (Action<AsyncLocalValueChangedArgs<T>>^)

.NET Framework (current version)
 

Instantiates an AsyncLocal<T> local instance that receives change notifications.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
AsyncLocal(
	Action<AsyncLocalValueChangedArgs<T>>^ valueChangedHandler
)

Parameters

valueChangedHandler
Type: System::Action<AsyncLocalValueChangedArgs<T>>^

The delegate that is called whenever the current value changes on any thread.

The delegate's signature is Action<ASyncLocalValueChangedArgs<T>.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft