2 // System.Diagnostics.EventLogTraceListener.cs
5 // Jonathan Pryor (jonpryor@vt.edu)
6 // Andreas Nahr (ClassDevelopment@A-SoftTech.com)
8 // (C) 2002 Jonathan Pryor
9 // (C) 2003 Andreas Nahr
14 using System.Collections;
15 using System.Diagnostics;
17 namespace System.Diagnostics
20 public sealed class EventLogTraceListener : TraceListener
22 private EventLog eventLog;
23 private string source;
25 public EventLogTraceListener ()
29 public EventLogTraceListener (EventLog eventLog)
31 this.eventLog = eventLog;
34 public EventLogTraceListener (string source)
39 public EventLog EventLog {
40 get {return eventLog;}
41 set {eventLog = value;}
44 public override string Name {
50 public override void Close ()
52 throw new NotImplementedException();
56 protected override void Dispose (bool disposing)
58 throw new NotImplementedException();
62 public override void Write (string message)
64 throw new NotImplementedException();
68 public override void WriteLine (string message)
70 throw new NotImplementedException();