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