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.

All labels observed (3)

Label Occurrences
ExecutionContext canonical 2
CallContext 1
ExecutionContext.SuppressFlow 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf .NET class
System.Object subclass
assembly System.Private.CoreLib (on .NET Core/.NET)
mscorlib (on .NET Framework)
linked to: mscorlib.dll
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
designGoal provide consistent ambient state across async boundaries
flowsAcross asynchronous operations
threads
hasMethod Capture
CreateCopy
IsFlowSuppressed
RestoreFlow
Run
SuppressFlow
hasProperty IsFlowSuppressed (via static query)
introducedInVersion .NET Framework 2.0
linked to: .NET Framework
isSealed true
isSerializable false
partOfFramework .NET (5+) runtime
linked to: .NET (5 and later)

.NET Core
.NET Framework
relatedTo AsyncLocal<T>
CallContext
SecurityContext
SynchronizationContext
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
linked to: ExecutionContext
threadAffinity logical context flows with work items, not physical threads
usedBy Task Parallel Library
ThreadPool
async/await infrastructure
usedFor flowing culture and UI culture
flowing impersonation state
flowing logical call context
flowing security principal
flowing synchronization context

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading containsType ExecutionContext
ThreadLocal<T> relatedTo CallContext
linked to: ExecutionContext
ExecutionContext suppressionMethod ExecutionContext.SuppressFlow
linked to: ExecutionContext
AsyncLocal<T> relatedTo ExecutionContext