ExecutionContext
E697524
ExecutionContext is a .NET framework class that captures and flows ambient execution information such as security, synchronization, and culture settings across asynchronous operations and threads.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
System.Object subclass ⓘ |
| assembly |
System.Private.CoreLib (on .NET Core/.NET)
NERFINISHED
ⓘ
mscorlib (on .NET Framework) NERFINISHED ⓘ |
| canBeSuppressed | true ⓘ |
| captureMethodSignature | static ExecutionContext Capture() ⓘ |
| captures |
ambient execution context
ⓘ
culture settings ⓘ localization settings ⓘ security context ⓘ synchronization context information ⓘ |
| category | concurrency and threading API ⓘ |
| definedInNamespace | System.Threading NERFINISHED ⓘ |
| designGoal | provide consistent ambient state across async boundaries ⓘ |
| flowsAcross |
asynchronous operations
ⓘ
threads ⓘ |
| hasMethod |
Capture
ⓘ
CreateCopy ⓘ IsFlowSuppressed ⓘ RestoreFlow NERFINISHED ⓘ Run ⓘ SuppressFlow ⓘ |
| hasProperty | IsFlowSuppressed (via static query) ⓘ |
| introducedInVersion | .NET Framework 2.0 NERFINISHED ⓘ |
| isSealed | true ⓘ |
| isSerializable | false ⓘ |
| partOfFramework |
.NET (5+) runtime
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| relatedTo |
AsyncLocal<T>
NERFINISHED
ⓘ
CallContext NERFINISHED ⓘ SecurityContext ⓘ SynchronizationContext NERFINISHED ⓘ |
| restorationMethod | ExecutionContext.RestoreFlow ⓘ |
| runMethodSignature | static void Run(ExecutionContext executionContext, ContextCallback callback, object state) ⓘ |
| scope | managed code execution ⓘ |
| securityImpact | controls flow of security-related ambient data ⓘ |
| suppressionMethod | ExecutionContext.SuppressFlow NERFINISHED ⓘ |
| threadAffinity | logical context flows with work items, not physical threads ⓘ |
| usedBy |
Task Parallel Library
NERFINISHED
ⓘ
ThreadPool ⓘ async/await infrastructure ⓘ |
| usedFor |
flowing culture and UI culture
ⓘ
flowing impersonation state ⓘ flowing logical call context ⓘ flowing security principal ⓘ flowing synchronization context ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.