1 namespace System.Threading
3 partial class ExecutionContext
5 internal static ExecutionContext Capture (ref StackCrawlMark stackMark, CaptureOptions options)
7 // For References sources compatibility only
12 internal enum CaptureOptions
16 IgnoreSyncCtx = 0x01, //Don't flow SynchronizationContext
18 OptimizeDefaultCase = 0x02, //Faster in the typical case, but can't show the result to users
19 // because they could modify the shared default EC.
20 // Use this only if you won't be exposing the captured EC to users.
25 internal enum StackCrawlMark
29 LookForMyCallersCaller = 2,