예제 #1
0
        public void LocalHello()
        {
            var localTrace = EventSourceFactory.Get <AbstractEventSource>();

            localTrace.ConnectStart("aaaa");
            localTrace.ConnectStart("aaaa");
            localTrace.ReceiveStop("aaaa", false, true);
        }
예제 #2
0
        public void LocalHello()
        {
            var localTrace = EventSourceFactory.Get <IInterfaceEventSource>();

            localTrace.ConnectStart("aaaa");
            localTrace.ConnectStart("aaaa");

            if (localTrace.IsEnabled())
            {
                localTrace.ReceiveStop("aaaa", false, true);
            }
        }