Beispiel #1
0
 public TraceEventCache()
 {
     started   = DateTime.Now;
     manager   = Trace.CorrelationManager;
     callstack = Environment.StackTrace;
     timestamp = Stopwatch.GetTimestamp();
     thread    = Thread.CurrentThread.Name;
     process   = Process.GetCurrentProcess().Id;
 }
		public TraceEventCache ()
		{
			started = DateTime.Now;
			manager = Trace.CorrelationManager;
			callstack = Environment.StackTrace;
			timestamp = Stopwatch.GetTimestamp ();
			thread = Thread.CurrentThread.Name;
			process = Process.GetCurrentProcess ().Id;
		}