Capture() 정적인 개인적인 메소드

static private Capture ( System.Threading.StackCrawlMark &stackMark, CaptureOptions options ) : ExecutionContext
stackMark System.Threading.StackCrawlMark
options CaptureOptions
리턴 ExecutionContext
예제 #1
0
 public Invoker(SendOrPostCallback callback, object state)
 {
     _executionContext = ExecutionContext.Capture();
     _callback         = callback;
     _state            = state;
 }
예제 #2
0
 internal _IOCompletionCallback(IOCompletionCallback ioCompletionCallback)
 {
     _ioCompletionCallback = ioCompletionCallback;
     // clone the exection context
     _executionContext = ExecutionContext.Capture();
 }