System.Threading.ExecutionContext.Capture C# (CSharp) 메소드

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

static private Capture ( System.Threading.StackCrawlMark &stackMark, CaptureOptions options ) : ExecutionContext
stackMark System.Threading.StackCrawlMark
options CaptureOptions
리턴 ExecutionContext
		internal static ExecutionContext Capture (ref StackCrawlMark stackMark, CaptureOptions options)
		{
			return Capture ((options & CaptureOptions.IgnoreSyncCtx) == 0, false);
		}

Usage Example

예제 #1
0
 public Invoker(SendOrPostCallback callback, object state)
 {
     _executionContext = ExecutionContext.Capture();
     _callback         = callback;
     _state            = state;
 }
All Usage Examples Of System.Threading.ExecutionContext::Capture
ExecutionContext