Ejemplo n.º 1
0
 public void LockAcquisitionError(object sender, LockAcquisitionErrorEventArgs e)
 {
     if (EventLoggingEnabled)
     {
         string entryText = eventLogEntryFormatter.GetEntryText(e.ErrorMessage);
         EventLog.WriteEntry(GetEventSourceName(), entryText, EventLogEntryType.Error);
     }
 }
		public void LockAcquisitionError(object sender, LockAcquisitionErrorEventArgs e)
		{
			if (EventLoggingEnabled)
			{
				string entryText = eventLogEntryFormatter.GetEntryText(e.ErrorMessage);
				EventLog.WriteEntry(GetEventSourceName(), entryText, EventLogEntryType.Error);
			}
		}