434 references to TraceEventType
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\BrokeredServiceBase.cs (1)
82
protected void Log(
TraceEventType
errorType, string message)
Services\DiagnosticAnalyzer\RemoteDiagnosticAnalyzerService.cs (1)
79
Log(
TraceEventType
.Information, $"diagnostics: {diagnosticCount}, telemetry: {result.Telemetry.Length}");
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (1)
134
logger.TraceEvent(
TraceEventType
.Error, 1, logMessage);
Microsoft.CodeAnalysis.Remote.Workspaces (2)
ServiceHubRemoteHostClient.cs (2)
87
hubClient.Logger.TraceEvent(
TraceEventType
.Error, 1, $"Unable to find Roslyn ServiceHub process: {e.Message}");
92
hubClient.Logger.TraceEvent(
TraceEventType
.Error, 1, "Roslyn ServiceHub process initialization failed.");
Microsoft.DotNet.VersionTools.Tasks (17)
MsBuildTraceListener.cs (9)
21
private
TraceEventType
_eventType;
24
public MsBuildTraceListener(TaskLoggingHelper log,
TraceEventType
eventType)
47
case
TraceEventType
.Error:
50
case
TraceEventType
.Warning:
53
case
TraceEventType
.Critical:
56
case
TraceEventType
.Information:
59
case
TraceEventType
.Verbose:
76
public
TraceEventType
ShouldTraceType { get; set; }
81
TraceEventType
eventType,
TraceListenerCollectionExtensions.cs (8)
22
TraceEventType
eventTypeFlags =
23
TraceEventType
.Error |
24
TraceEventType
.Warning |
25
TraceEventType
.Critical |
26
TraceEventType
.Information |
27
TraceEventType
.Verbose)
29
MsBuildTraceListener[] listeners = Enum.GetValues(typeof(
TraceEventType
))
30
.Cast<
TraceEventType
>()
Microsoft.Extensions.Logging.TraceSource (7)
TraceSourceLogger.cs (7)
64
TraceEventType
traceEventType = GetEventType(logLevel);
68
private static
TraceEventType
GetEventType(LogLevel logLevel)
72
case LogLevel.Critical: return
TraceEventType
.Critical;
73
case LogLevel.Error: return
TraceEventType
.Error;
74
case LogLevel.Warning: return
TraceEventType
.Warning;
75
case LogLevel.Information: return
TraceEventType
.Information;
77
default: return
TraceEventType
.Verbose;
Microsoft.VisualBasic.Tests (6)
Microsoft\VisualBasic\Logging\FileLogTraceListenerTests.cs (2)
42
listener.TraceEvent(eventCache: cache, source: "Source", eventType:
TraceEventType
.Warning, id: 3, message: "TraceEvent");
44
listener.TraceData(eventCache: cache, source: "Source", eventType:
TraceEventType
.Error, id: 4, data: "TraceData");
Microsoft\VisualBasic\Logging\LogTests.cs (4)
25
log.WriteEntry("WriteEntry", severity:
TraceEventType
.Warning);
26
log.WriteEntry("WriteEntry", severity:
TraceEventType
.Error, id: 3);
29
log.WriteException(new ArgumentException(), severity:
TraceEventType
.Warning, additionalInfo: "AdditionalInfo");
30
log.WriteException(new ArgumentException(), severity:
TraceEventType
.Warning, additionalInfo: "AdditionalInfo", id: 6);
Microsoft.VisualStudio.LanguageServices (11)
LanguageClient\LogHubLspLogger.cs (7)
42
_traceSource.TraceEvent(
TraceEventType
.Verbose, id: 0, message);
51
_traceSource.TraceEvent(
TraceEventType
.Information, id: 0, message);
56
_traceSource.TraceEvent(
TraceEventType
.Warning, id: 0, message);
61
_traceSource.TraceEvent(
TraceEventType
.Error, id: 0, message);
66
_traceSource.TraceEvent(
TraceEventType
.Error, id: 0, "Exception: {0}", exception);
71
_traceSource.TraceEvent(
TraceEventType
.Start, id: 0, message);
76
_traceSource.TraceEvent(
TraceEventType
.Stop, id: 0, message);
RoslynActivityLogger.cs (3)
67
=> TraceSource.TraceData(
TraceEventType
.Verbose, LogEventId, functionId.Convert(), logMessage.GetMessage());
70
=> TraceSource.TraceData(
TraceEventType
.Verbose, StartEventId, functionId.Convert(), uniquePairId);
73
=> TraceSource.TraceData(
TraceEventType
.Verbose, EndEventId, functionId.Convert(), uniquePairId, cancellationToken.IsCancellationRequested, delta, logMessage.GetMessage());
Watson\FaultReporter.cs (1)
134
logger.TraceEvent(
TraceEventType
.Error, 1, logMessage);
netstandard (1)
netstandard.cs (1)
704
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceEventType
))]
PresentationCore (19)
MS\Internal\Generated\AvTraceMessages.cs (10)
74
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
80
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
84
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
88
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
92
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
258
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
264
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
268
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
272
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
276
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
System\Windows\EventRoute.cs (4)
183
TraceEventType
.Start,
194
TraceEventType
.Stop,
255
TraceEventType
.Start,
267
TraceEventType
.Stop,
System\Windows\Media\Animation\Animatable.cs (1)
202
TraceEventType
.Warning,
System\Windows\UIElement.cs (4)
2254
TraceEventType
.Start,
2282
TraceEventType
.Stop,
2306
TraceEventType
.Start,
2332
TraceEventType
.Stop,
PresentationFramework (251)
MS\Internal\Data\ClrBindingWorker.cs (5)
496
TraceData.TraceAndNotify(
TraceEventType
.Error,
515
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.MissingDataItem, ParentBindingExpression);
525
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.MissingInfo, ParentBindingExpression);
533
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.NullDataItem, ParentBindingExpression);
538
internal void ReportBadXPath(
TraceEventType
traceType)
MS\Internal\Data\DefaultValueConverter.cs (2)
334
TraceData.TraceAndNotify(
TraceEventType
.Error,
344
TraceData.TraceAndNotify(
TraceEventType
.Error,
MS\Internal\Data\EnumerableCollectionView.cs (1)
585
TraceData.TraceAndNotify(
TraceEventType
.Warning,
MS\Internal\Data\ObjectRef.cs (8)
152
TraceData.TraceAndNotify(
TraceEventType
.Warning,
198
TraceData.TraceAndNotify(
TraceEventType
.Warning,
406
TraceData.TraceAndNotify(
TraceEventType
.Warning,
517
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.RefPreviousNotInContext);
539
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.RefNoWrapperInChildren);
549
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.RefAncestorTypeNotSpecified);
555
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.RefAncestorLevelInvalid);
567
TraceData.TraceAndNotify(
TraceEventType
.Warning,
MS\Internal\Data\PropertyPathWorker.cs (18)
317
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
342
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
755
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
849
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
945
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.NullItem(cs, os), bindingExpression);
951
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.PlaceholderItem(cs, os), bindingExpression);
955
TraceEventType
traceType = (bindingExpression != null) ? bindingExpression.TraceLevel :
TraceEventType
.Error;
963
TraceEventType
traceType = (bindingExpression != null) ? bindingExpression.TraceLevel :
TraceEventType
.Error;
1046
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1066
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1099
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1127
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1232
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1736
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1751
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1774
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
MS\Internal\Data\XmlBindingWorker.cs (9)
148
internal void ReportBadXPath(
TraceEventType
traceType)
185
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
311
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlBindingToNonXmlCollection, ParentBindingExpression,
321
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlBindingToNonXml, ParentBindingExpression,
390
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
412
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
473
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
523
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.CannotGetXmlNodeCollection, ParentBindingExpression,
531
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
MS\Internal\Generated\AvTraceMessages.cs (30)
1338
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
1344
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
1348
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
1352
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
1356
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
1466
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
1472
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
1476
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
1480
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
1484
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
1706
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
1712
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
1716
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
1720
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
1724
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
2002
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
2008
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
2012
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
2016
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
2020
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
2088
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
2094
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
2098
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
2102
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
2106
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
2250
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, params object[] parameters )
2256
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails )
2260
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1 )
2264
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2 )
2268
static public void Trace(
TraceEventType
type, AvTraceDetails traceDetails, object p1, object p2, object p3 )
MS\Internal\Helper.cs (2)
328
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.StyleAndStyleSelectorDefined(name), null,
355
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.TemplateAndTemplateSelectorDefined(name), null,
MS\Internal\PtsHost\Pts.cs (2)
104
TraceEventType
.Start,
109
TraceEventType
.Stop,
MS\Internal\PtsHost\PtsPage.cs (8)
288
TraceEventType
.Start,
312
TraceEventType
.Stop,
341
TraceEventType
.Start,
361
TraceEventType
.Stop,
385
TraceEventType
.Start,
422
TraceEventType
.Stop,
446
TraceEventType
.Start,
481
TraceEventType
.Stop,
MS\Internal\TraceData.cs (4)
302
public static void TraceAndNotify(
TraceEventType
eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, Exception exception = null)
319
public static void TraceAndNotify(
TraceEventType
eventType, AvTraceDetails traceDetails, Exception exception = null)
330
public static void TraceAndNotify(
TraceEventType
eventType, AvTraceDetails traceDetails, BindingExpressionBase binding, object[] traceParameters, object[] eventParameters = null)
345
public static void TraceAndNotifyWithNoParameters(
TraceEventType
eventType, AvTraceDetails traceDetails, BindingExpressionBase binding)
System\Windows\Controls\DataErrorValidationRule.cs (1)
97
TraceData.TraceAndNotify(
TraceEventType
.Error,
System\Windows\Controls\DataGrid.cs (1)
7250
TraceData.TraceAndNotify(
TraceEventType
.Error,
System\Windows\Controls\ItemsControl.cs (1)
1389
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.ItemTemplateForDirectItem, null,
System\Windows\Data\BindingExpression.cs (42)
67
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
74
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
436
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Error,
523
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
549
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
620
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
635
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
653
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
670
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
681
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.NoMentor, this);
729
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
745
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.NoDataContext, this);
768
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
901
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.NoMentor, this);
920
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.NoDataContext, this);
966
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
984
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1105
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1162
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1285
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1314
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1359
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1385
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1407
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1444
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1466
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1483
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1611
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1728
TraceData.TraceAndNotify(
TraceEventType
.Error,
1742
TraceData.TraceAndNotify(
TraceEventType
.Error,
1845
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1874
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1923
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1934
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2022
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.WorkerUpdateFailed, this, ex);
2031
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.WorkerUpdateFailed, this);
2443
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2458
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2474
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2488
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2521
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2652
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
System\Windows\Data\BindingExpressionBase.cs (18)
155
TraceData.TraceAndNotify(
TraceEventType
.Warning,
163
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
934
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
970
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1189
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1274
TraceData.TraceAndNotify(
TraceEventType
.Critical, TraceData.RequiresExplicitCulture, this,
1579
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.NoValueToTransfer, this);
1763
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1781
TraceData.TraceAndNotify(
TraceEventType
.Error,
1832
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2136
TraceData.TraceAndNotify(
TraceEventType
.Error,
2162
TraceData.TraceAndNotify(
TraceEventType
.Error,
2235
internal
TraceEventType
TraceLevel
2241
return
TraceEventType
.Warning;
2245
return
TraceEventType
.Warning;
2248
return
TraceEventType
.Error;
2515
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
2535
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
System\Windows\Data\BindingGroup.cs (2)
579
TraceData.TraceAndNotify(
TraceEventType
.Warning,
613
TraceData.TraceAndNotify(
TraceEventType
.Warning,
System\Windows\Data\CollectionView.cs (1)
72
TraceData.TraceAndNotify(
TraceEventType
.Warning,
System\Windows\Data\MultiBindingExpression.cs (20)
185
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.MultiBindingHasNoConverter, this,
191
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
213
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
377
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
525
TraceData.TraceAndNotify(
TraceEventType
.Error,
541
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
554
TraceData.TraceAndNotify(
TraceEventType
.Information, TraceData.MultiValueConverterMismatch, this,
583
TraceData.TraceAndNotify(
TraceEventType
.Information,
612
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.MultiValueConverterMissingForUpdate, this);
1016
TraceData.TraceAndNotify(
TraceEventType
.Warning,
1089
TraceData.TraceAndNotify(
TraceEventType
.Warning,
1161
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1184
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1208
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.MultiValueConverterMissingForTransfer, this);
1237
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1251
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1281
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1300
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1317
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
1327
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
System\Windows\Data\ObjectDataProvider.cs (5)
291
TraceData.TraceAndNotify(
TraceEventType
.Warning,
383
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.ObjectDataProviderHasNoSource);
423
TraceData.TraceAndNotify(
TraceEventType
.Warning,
500
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.ObjDPCreateFailed, null,
590
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.ObjDPInvokeFailed, null,
System\Windows\Data\PriorityBindingExpression.cs (2)
253
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
573
TraceData.TraceAndNotifyWithNoParameters(
TraceEventType
.Warning,
System\Windows\Data\XmlDataProvider.cs (13)
271
TraceData.TraceAndNotify(
TraceEventType
.Warning,
477
TraceData.TraceAndNotify(
TraceEventType
.Warning,
489
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlDPInlineDocError, xmle);
517
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlNamespaceNotSet);
531
TraceData.TraceAndNotify(
TraceEventType
.Warning,
565
TraceData.TraceAndNotify(
TraceEventType
.Warning,
583
TraceData.TraceAndNotify(
TraceEventType
.Warning,
601
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlDPAsyncDocError, null,
616
TraceData.TraceAndNotify(
TraceEventType
.Warning,
652
TraceData.TraceAndNotify(
TraceEventType
.Warning,
670
TraceData.TraceAndNotify(
TraceEventType
.Warning,
687
TraceData.TraceAndNotify(
TraceEventType
.Warning,
788
TraceData.TraceAndNotify(
TraceEventType
.Error, TraceData.XmlDPSelectNodesFailed, null,
System\Windows\Diagnostics\BindingFailedEventArgs.cs (2)
21
public
TraceEventType
EventType { get; }
45
internal BindingFailedEventArgs(
TraceEventType
eventType, int code, string message, BindingExpressionBase binding, params object[] parameters)
System\Windows\FrameworkElement.cs (5)
707
TraceEventType
.Start,
751
TraceEventType
.Stop,
1044
TraceEventType
.Start,
1121
TraceEventType
.Stop,
1136
TraceResourceDictionary.Trace(
TraceEventType
.Warning,
System\Windows\FrameworkTemplate.cs (4)
481
TraceEventType
.Start,
497
TraceEventType
.Stop,
902
TraceMarkup.Trace(
TraceEventType
.Start, TraceMarkup.Load);
948
TraceMarkup.Trace(
TraceEventType
.Stop, TraceMarkup.Load, rootObject);
System\Windows\Interop\HwndHost.cs (1)
948
TraceHwndHost.Trace(
TraceEventType
.Warning, TraceHwndHost.HwndHostIn3D);
System\Windows\Markup\BamlRecordReader.cs (25)
1401
TraceMarkup.Trace(
TraceEventType
.Start,
1578
TraceMarkup.Trace(
TraceEventType
.Stop,
1608
TraceMarkup.Trace(
TraceEventType
.Start,
1662
TraceMarkup.Trace(
TraceEventType
.Stop,
2523
TraceMarkup.Trace(
TraceEventType
.Start,
2535
TraceMarkup.Trace(
TraceEventType
.Stop,
2551
TraceMarkup.Trace(
TraceEventType
.Start,
2577
TraceMarkup.Trace(
TraceEventType
.Stop,
2593
TraceMarkup.Trace(
TraceEventType
.Start,
2604
TraceMarkup.Trace(
TraceEventType
.Stop,
4390
TraceMarkup.Trace(
TraceEventType
.Start,
4400
TraceMarkup.Trace(
TraceEventType
.Stop,
4497
TraceMarkup.Trace(
TraceEventType
.Start,
4506
TraceMarkup.Trace(
TraceEventType
.Stop,
4686
TraceMarkup.Trace(
TraceEventType
.Stop,
4720
TraceMarkup.Trace(
TraceEventType
.Stop,
4909
TraceMarkup.Trace(
TraceEventType
.Start,
4920
TraceMarkup.Trace(
TraceEventType
.Stop,
4943
TraceMarkup.Trace(
TraceEventType
.Start,
4954
TraceMarkup.Trace(
TraceEventType
.Stop,
4970
TraceMarkup.Trace(
TraceEventType
.Start,
4990
TraceMarkup.Trace(
TraceEventType
.Stop,
5022
TraceMarkup.Trace(
TraceEventType
.Stop,
5253
TraceMarkup.Trace(
TraceEventType
.Start,
5284
TraceMarkup.Trace(
TraceEventType
.Stop,
System\Windows\Markup\XamlReader.cs (5)
863
TraceMarkup.Trace(
TraceEventType
.Start, TraceMarkup.Load);
907
TraceMarkup.Trace(
TraceEventType
.Stop, TraceMarkup.Load, root);
982
TraceMarkup.Trace(
TraceEventType
.Stop, TraceMarkup.Load, root);
1032
TraceMarkup.Trace(
TraceEventType
.Start, TraceMarkup.Load);
1108
TraceMarkup.Trace(
TraceEventType
.Stop, TraceMarkup.Load, root);
System\Windows\Media\Animation\Storyboard.cs (1)
1975
TraceEventType
.Warning,
System\Windows\ResourceDictionary.cs (6)
445
TraceResourceDictionary.Trace(
TraceEventType
.Start,
467
TraceEventType
.Stop,
635
TraceResourceDictionary.Trace(
TraceEventType
.Start,
656
TraceResourceDictionary.Trace(
TraceEventType
.Stop,
1032
TraceEventType
.Start,
1047
TraceEventType
.Stop,
System\Windows\Shell\JumpList.cs (2)
615
TraceShell.Trace(
TraceEventType
.Error, TraceShell.RejectingJumpItemsBecauseCatastrophicFailure);
838
TraceShell.Trace(
TraceEventType
.Error, TraceShell.RejectingJumpListCategoryBecauseNoRegisteredHandler(category));
System\Windows\Window.cs (5)
691
TraceShell.Trace(
TraceEventType
.Error, TraceShell.ExplorerTaskbarTimeout);
692
TraceShell.Trace(
TraceEventType
.Warning, TraceShell.ExplorerTaskbarRetrying);
703
TraceShell.Trace(
TraceEventType
.Warning, TraceShell.ExplorerTaskbarNotRunning);
716
TraceShell.Trace(
TraceEventType
.Error, TraceShell.NativeTaskbarError(hr.ToString()));
6440
TraceShell.Trace(
TraceEventType
.Warning, TraceShell.NotOnWindows7);
System (1)
src\libraries\shims\System\ref\System.cs (1)
542
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceEventType
))]
System.Diagnostics.EventLog (4)
artifacts\obj\System.Diagnostics.EventLog\Debug\net10.0\System.Diagnostics.EventLog.notsupported.cs (4)
152
public override void TraceData(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.
TraceEventType
severity, int id, object data) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
154
public override void TraceData(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.
TraceEventType
severity, int id, params object[] data) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
156
public override void TraceEvent(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.
TraceEventType
severity, int id, string message) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
158
public override void TraceEvent(System.Diagnostics.TraceEventCache eventCache, string source, System.Diagnostics.
TraceEventType
severity, int id, string format, params object[] args) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
System.Diagnostics.TextWriterTraceListener (16)
System\Diagnostics\DelimitedListTraceListener.cs (5)
86
public override void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? format, params object?[]? args)
105
public override void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, string? message)
121
public override void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, object? data)
137
public override void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, params object?[]? data)
161
private void WriteHeader(string source,
TraceEventType
eventType, int id)
System\Diagnostics\XmlWriterTraceListener.cs (11)
65
TraceEvent(null, SR.TraceAsTraceSource,
TraceEventType
.Information, 0, message);
72
TraceEvent(null, SR.TraceAsTraceSource,
TraceEventType
.Error, 0, string.Create(length, (message, detailMessage),
88
public override void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? format, params object?[]? args)
98
public override void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, string? message)
108
public override void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, object? data)
127
public override void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, params object?[]? data)
194
if (Filter != null && !Filter.ShouldTrace(eventCache, source,
TraceEventType
.Transfer, id, message, null, null, null))
197
WriteHeader(source,
TraceEventType
.Transfer, id, eventCache, relatedActivityId);
202
private void WriteHeader(string source,
TraceEventType
eventType, int id, TraceEventCache? eventCache, Guid relatedActivityId)
210
private void WriteHeader(string source,
TraceEventType
eventType, int id, TraceEventCache? eventCache)
216
private void WriteStartHeader(string source,
TraceEventType
eventType, int id, TraceEventCache? eventCache)
System.Diagnostics.TraceSource (35)
System\Diagnostics\SeverityFilter.cs (1)
18
public override bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? formatOrMessage,
System\Diagnostics\SourceFilter.cs (1)
19
public override bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? formatOrMessage,
System\Diagnostics\SourceSwitch.cs (1)
29
public bool ShouldTrace(
TraceEventType
eventType)
System\Diagnostics\Trace.cs (6)
185
TraceInternal.TraceEvent(
TraceEventType
.Information, 0, message, null);
191
TraceInternal.TraceEvent(
TraceEventType
.Information, 0, format, args);
197
TraceInternal.TraceEvent(
TraceEventType
.Warning, 0, message, null);
203
TraceInternal.TraceEvent(
TraceEventType
.Warning, 0, format, args);
209
TraceInternal.TraceEvent(
TraceEventType
.Error, 0, message, null);
215
TraceInternal.TraceEvent(
TraceEventType
.Error, 0, format, args);
System\Diagnostics\TraceFilter.cs (4)
11
public abstract bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? formatOrMessage,
14
internal bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, string? formatOrMessage)
19
internal bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? formatOrMessage, object?[]? args)
24
internal bool ShouldTrace(TraceEventCache? cache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? formatOrMessage, object?[]? args, object? data1)
System\Diagnostics\TraceInternal.cs (1)
330
public static void TraceEvent(
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? format, params object?[]? args)
System\Diagnostics\TraceListener.cs (13)
178
TraceEvent(eventCache, source,
TraceEventType
.Transfer, id, string.Create(null, stackalloc char[256], $"{message}, relatedActivityId={relatedActivityId}"));
211
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, null, null, o))
225
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, message))
241
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, category, null, o))
286
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, null, null, o))
299
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, message))
316
if (Filter != null && !Filter.ShouldTrace(null, "",
TraceEventType
.Verbose, 0, category, null, o))
325
public virtual void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, object? data)
339
public virtual void TraceData(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, params object?[]? data)
351
public virtual void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id)
357
public virtual void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, string? message)
368
public virtual void TraceEvent(TraceEventCache? eventCache, string source,
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? format, params object?[]? args)
382
private void WriteHeader(string source,
TraceEventType
eventType, int id)
System\Diagnostics\TraceSource.cs (8)
190
public void TraceEvent(
TraceEventType
eventType, int id)
235
public void TraceEvent(
TraceEventType
eventType, int id, string? message)
280
public void TraceEvent(
TraceEventType
eventType, int id, [StringSyntax(StringSyntaxAttribute.CompositeFormat)] string? format, params object?[]? args)
325
public void TraceData(
TraceEventType
eventType, int id, object? data)
370
public void TraceData(
TraceEventType
eventType, int id, params object?[]? data)
418
TraceEvent(
TraceEventType
.Information, 0, message, null);
425
TraceEvent(
TraceEventType
.Information, 0, format, args);
436
if (_internalSwitch!.ShouldTrace(
TraceEventType
.Transfer) && _listeners != null)
System.Security.Cryptography.Xml (41)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (41)
167
s_informationLogging = s_traceSource.Switch.ShouldTrace(
TraceEventType
.Information);
184
s_verboseLogging = s_traceSource.Switch.ShouldTrace(
TraceEventType
.Verbose);
291
TraceEventType
.Information,
303
TraceEventType
.Verbose,
328
WriteLine(signedXml,
TraceEventType
.Information, SignedXmlDebugEvent.BeginCheckSignatureFormat, logMessage);
347
WriteLine(signedXml,
TraceEventType
.Information, SignedXmlDebugEvent.BeginCheckSignedInfo, logMessage);
363
TraceEventType
.Information,
375
TraceEventType
.Verbose,
393
TraceEventType
.Information,
405
TraceEventType
.Verbose,
429
TraceEventType
.Verbose,
449
WriteLine(signedXml,
TraceEventType
.Information, SignedXmlDebugEvent.FormatValidationResult, logMessage);
483
WriteLine(signedXml,
TraceEventType
.Information, SignedXmlDebugEvent.UnsafeCanonicalizationMethod, logMessage);
533
WriteLine(signedXml,
TraceEventType
.Information, SignedXmlDebugEvent.UnsafeTransformMethod, logMessage);
558
TraceEventType
.Information,
566
TraceEventType
.Information,
607
TraceEventType
.Verbose,
650
TraceEventType
.Information,
673
TraceEventType
.Information,
704
TraceEventType
.Verbose,
724
TraceEventType
.Information,
750
TraceEventType
.Information,
776
TraceEventType
.Verbose,
802
TraceEventType
.Verbose,
839
TraceEventType
.Verbose,
878
TraceEventType
.Information,
888
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.VerifySignedInfo, hashLog);
893
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.VerifySignedInfo, signatureLog);
919
TraceEventType
.Information,
929
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.VerifySignedInfo, hashLog);
934
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.VerifySignedInfo, signatureLog);
956
TraceEventType
.Information,
967
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.X509Verification, revocationMode);
972
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.X509Verification, revocationFlag);
977
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.X509Verification, verificationFlags);
982
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.X509Verification, verificationTime);
987
WriteLine(signedXml,
TraceEventType
.Verbose, SignedXmlDebugEvent.X509Verification, urlTimeout);
1003
TraceEventType
.Information,
1022
TraceEventType
.Verbose,
1052
TraceEventType
.Information,
1065
private static void WriteLine(object source,
TraceEventType
eventType, SignedXmlDebugEvent eventId, string data)
System.ServiceModel.NetNamedPipe (17)
System\ServiceModel\Channels\PipeConnection.cs (15)
20
private
TraceEventType
_exceptionEventType;
49
_exceptionEventType =
TraceEventType
.Error;
70
public
TraceEventType
ExceptionEventType
318
DiagnosticUtility.TraceHandledException(e,
TraceEventType
.Information);
322
DiagnosticUtility.TraceHandledException(e,
TraceEventType
.Information);
326
DiagnosticUtility.TraceHandledException(e,
TraceEventType
.Information);
370
TraceEventType
traceEventType =
TraceEventType
.Warning;
373
if (ExceptionEventType ==
TraceEventType
.Information)
460
TraceEventType
traceEventType =
TraceEventType
.Information;
463
traceEventType =
TraceEventType
.Error;
488
TraceEventType
traceEventType =
TraceEventType
.Information;
491
traceEventType =
TraceEventType
.Error;
System\ServiceModel\Channels\PipeConnectionInitiator.cs (2)
54
TraceEventType
.Information,
149
TraceUtility.TraceEvent(
TraceEventType
.Information, TraceCode.InitiatingNamedPipeConnection,
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\SocketConnection.cs (3)
79
Abort(
TraceEventType
.Warning, timeoutErrorString, transferOperation);
82
private void Abort(
TraceEventType
traceEventType, string timeoutErrorString, TransferOperation transferOperation)
613
thisPtr.Abort(
TraceEventType
.Warning, SR.Format(SR.SocketAbortedSendTimedOut, thisPtr._asyncSendTimeout), TransferOperation.Write);