static private Capture ( System.Threading.StackCrawlMark &stackMark, CaptureOptions options ) : |
||
stackMark | System.Threading.StackCrawlMark | |
options | CaptureOptions | |
return |
internal static ExecutionContext Capture (ref StackCrawlMark stackMark, CaptureOptions options)
{
return Capture ((options & CaptureOptions.IgnoreSyncCtx) == 0, false);
}
public Invoker(SendOrPostCallback callback, object state) { _executionContext = ExecutionContext.Capture(); _callback = callback; _state = state; }