¡@

Home 

c# Programming Glossary: listeners

Where does System.Diagnostics.Debug.Write output appear?

http://stackoverflow.com/questions/1159755/where-does-system-diagnostics-debug-write-output-appear

share improve this question As others have pointed out listeners have to be registered in order to read these streams. Also note..

Error logging in C#

http://stackoverflow.com/questions/147557/error-logging-in-c-sharp

my own preference System.Diagnostics.Trace This includes listeners that listen for your Trace methods and then write to a log file..

Why we use inner classes?

http://stackoverflow.com/questions/2707724/why-we-use-inner-classes

Swing makes extensive use of inner classes for event listeners. Without them you would end up polluting the global namespace..

How to add (simple) tracing in C#?

http://stackoverflow.com/questions/27610/how-to-add-simple-tracing-in-c

configuration system.diagnostics trace autoflush true listeners add type System.Diagnostics.TextWriterTraceListener name TextWriter.. name TextWriter initializeData trace.log listeners trace system.diagnostics This will add a TextWriterTraceListener.. send to with Trace.WriteLine etc. Tip If you don't add any listeners then you can still see the trace output with the SysInternals..

Activation error occured while trying to get instance of type LogWriter

http://stackoverflow.com/questions/2900403/activation-error-occured-while-trying-to-get-instance-of-type-logwriter

name tracingEnabled true defaultCategory General listeners add name Event Log Listener type Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener.. log Application machineName . traceOutputOptions None listeners formatters add type Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter.. categorySources add switchValue All name General listeners add name Event Log Listener listeners add categorySources..

Do event handlers stop garbage collection from occuring?

http://stackoverflow.com/questions/298261/do-event-handlers-stop-garbage-collection-from-occuring

to be collected anyway there is no need to unsubscribe the listeners. However if pClass was long lived longer than the instance with..

How do events cause memory leaks in C# and how do Weak References help mitigate that?

http://stackoverflow.com/questions/3662842/how-do-events-cause-memory-leaks-in-c-sharp-and-how-do-weak-references-help-miti

this kind of leak it is important to always detach event listeners when they are no longer needed. The above sample is written..

Raise event thread safely - best practice

http://stackoverflow.com/questions/3668953/raise-event-thread-safely-best-practice

s but it could be that the event will invoke event listeners after they have been detached from the event . That is just..

Mirroring console output to a file

http://stackoverflow.com/questions/420429/mirroring-console-output-to-a-file

on the console. As far as I can recall you can define the listeners in the application configuration making it possible to activate..

Automatically INotifyPropertyChanged

http://stackoverflow.com/questions/527602/automatically-inotifypropertychanged

TSender TSender sender #endregion summary Notifies listeners about a change. summary param name EventHandler The event to..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

e throw new ApplicationException Error occured starting listeners check inner exception e return true I'd just like to note the.. should be here stop attacks based on killing the waiting listeners _serverSocket.BeginAccept new AsyncCallback acceptCallback _serverSocket.. should be here stop attacks based on killing the waiting listeners _serverSocket.BeginAccept new AsyncCallback acceptCallback _serverSocket..

Seeking clarification on apparent contradictions regarding weakly typed languages

http://stackoverflow.com/questions/9929585/seeking-clarification-on-apparent-contradictions-regarding-weakly-typed-language