.NET ile Event İşlemleri

c-sharp
[csharp]

try
{
//işlemler
}
catch (Exception ex)
{
EventLog log = new EventLog();
log.Source = “Application”;
log.WriteEntry(ex.Message, EventLogEntryType.Error, 200);

}

[/csharp]