55 references to EventLogEntryType
System (33)
services\monitoring\system\diagnosticts\EventData.cs (6)
9private EventLogEntryType _entryType = EventLogEntryType.Information; 17public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) : this (instanceId, categoryId) { 31public EventLogEntryType EntryType { 35if (!Enum.IsDefined(typeof(EventLogEntryType), value)) 36throw new InvalidEnumArgumentException("value", (int)value, typeof(EventLogEntryType));
services\monitoring\system\diagnosticts\EventLog.cs (12)
1376WriteEntry(message, EventLogEntryType.Information, (short) 0, 0, null); 1382WriteEntry(source, message, EventLogEntryType.Information, (short) 0, 0, null); 1387/// Writes an entry of the specified <see cref='System.Diagnostics.EventLogEntryType'/> to the event log. Valid types are 1392public void WriteEntry(string message, EventLogEntryType type) { 1399public static void WriteEntry(string source, string message, EventLogEntryType type) { 1405/// Writes an entry of the specified <see cref='System.Diagnostics.EventLogEntryType'/> 1412public void WriteEntry(string message, EventLogEntryType type, int eventID) { 1419public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) { 1431public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { 1438public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category) { 1445public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, short category, 1460public void WriteEntry(string message, EventLogEntryType type, int eventID, short category,
services\monitoring\system\diagnosticts\EventLogEntry.cs (2)
204public EventLogEntryType EntryType { 206return(EventLogEntryType) ShortFrom(dataBuf, bufOffset + FieldOffsets.EVENTTYPE);
services\monitoring\system\diagnosticts\EventLogInternal.cs (10)
1566WriteEntry(message, EventLogEntryType.Information, (short) 0, 0, null); 1571/// Writes an entry of the specified <see cref='System.Diagnostics.EventLogEntryType'/> to the event log. Valid types are 1576public void WriteEntry(string message, EventLogEntryType type) { 1582/// Writes an entry of the specified <see cref='System.Diagnostics.EventLogEntryType'/> 1589public void WriteEntry(string message, EventLogEntryType type, int eventID) { 1601public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { 1613public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, 1622if (!Enum.IsDefined(typeof(EventLogEntryType), type)) 1623throw new InvalidEnumArgumentException("type", (int)type, typeof(EventLogEntryType)); 1679private void InternalWriteEvent(uint eventID, ushort category, EventLogEntryType type, string[] strings,
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (3)
220data.EntryType = EventLogEntryType.Error; 222data.EntryType = EventLogEntryType.Warning; 224data.EntryType = EventLogEntryType.Information;
System.IdentityModel.Selectors (6)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (6)
211LogEvent(code, null, EventLogEntryType.Information); 216LogEvent(code, message, EventLogEntryType.Information); 450private static void LogEvent(EventCode code, string message, EventLogEntryType type) 593EventLogEntryType logType = isInformational ? EventLogEntryType.Information : EventLogEntryType.Error;
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\EventLogger.cs (5)
230static EventLogEntryType EventLogEntryTypeFromEventType(TraceEventType type) 232EventLogEntryType retval = EventLogEntryType.Information; 237retval = EventLogEntryType.Error; 240retval = EventLogEntryType.Warning;
System.Transactions (5)
System\Transactions\Trace\DiagnosticTrace.cs (5)
791static EventLogEntryType EventLogEntryTypeFromEventType(TraceEventType type) 793EventLogEntryType retval = EventLogEntryType.Information; 798retval = EventLogEntryType.Error; 801retval = EventLogEntryType.Warning;
System.Web.DataVisualization (1)
WebForm\ChartWebControl.cs (1)
908eventLog.WriteEntry(SR.EvenLogMessageChartImageFileTimeToLive(timeSpan.Minutes.ToString(CultureInfo.InvariantCulture)), EventLogEntryType.Warning);
System.Xml (5)
System\Xml\Serialization\Compilation.cs (5)
180Log(e.Message, EventLogEntryType.Information); 194Log(Res.GetString(Res.XmlPregenCannotLoad, serializerName), EventLogEntryType.Information); 202Log(Res.GetString(Res.XmlSerializerExpiredDetails, serializerName, type.FullName), EventLogEntryType.Error); 238Log(Res.GetString(Res.XmlSerializerExpiredDetails, serializerName, type.FullName), EventLogEntryType.Error); 244static void Log(string message, EventLogEntryType type) {