FastCapture() static private méthode

static private FastCapture ( ) : ExecutionContext
Résultat ExecutionContext
Exemple #1
0
            public Invoker(SendOrPostCallback callback, object state)
            {
                _executionContext = ExecutionContext.FastCapture();
                _callback         = callback;
                _state            = state;

                if (FrameworkEventSource.Log.IsEnabled(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
                {
                    EtwFireThreadTransferSendObj(this);
                }
            }