示例#1
0
        public void Hello()
        {
            StaticEventSource.ConnectStart("aaaa");
            StaticEventSource.ConnectStart("aaaa");

            StaticEventSource.ReceiveStop("aaaa", false, true);
        }
示例#2
0
        public bool LogAndEVentSource()
        {
            LogTo.Debug("Sent & finished " + currentWriteCopier.Length);
            var a = DateTime.Now;

            Console.WriteLine(a.Add(TimeSpan.FromDays(12)));
            StaticEventSource.ConnectStop(currentWriteCopier);

            return(false);
        }