41 references to Critical
PresentationFramework (1)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1285TraceData.Trace(TraceEventType.Critical, TraceData.RequiresExplicitCulture, TargetProperty.Name, this);
SMDiagnostics (4)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (3)
90logger.LogEvent(TraceEventType.Critical, 102logger.LogEvent(TraceEventType.Critical, 210return this.ThrowHelper(exception, TraceEventType.Critical);
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
218TraceEvent(TraceEventType.Critical, DiagnosticsTraceCode.UnhandledException, "UnhandledException", TraceSR.GetString(TraceSR.UnhandledException), null, exception, null);
System (8)
net\System\Net\Logging.cs (6)
200loggingEnabled = (s_WebTraceSource.Switch.ShouldTrace(TraceEventType.Critical) || 201s_HttpListenerTraceSource.Switch.ShouldTrace(TraceEventType.Critical) || 202s_SocketsTraceSource.Switch.ShouldTrace(TraceEventType.Critical) || 203s_WebSocketsTraceSource.Switch.ShouldTrace(TraceEventType.Critical) || 204s_CacheTraceSource.Switch.ShouldTrace(TraceEventType.Critical) || 205s_TraceSourceHttpName.Switch.ShouldTrace(TraceEventType.Critical));
net\System\Net\WebSockets\WebSocketBase.cs (1)
80s_LoggingEnabled = Logging.On && Logging.WebSockets.Switch.ShouldTrace(TraceEventType.Critical);
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (1)
219if (severity == TraceEventType.Error || severity == TraceEventType.Critical)
System.Core (1)
System\Diagnostics\EventSchemaTraceListener.cs (1)
368case TraceEventType.Critical:
System.IdentityModel.Selectors (2)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
326TraceInternal(TraceEventType.Critical, traceCode, null); 331TraceInternal(TraceEventType.Critical, traceCode, parameters);
System.Net (6)
net\Logging.cs (1)
30if (s_P2PTraceSource.Switch.ShouldTrace(TraceEventType.Critical))
net\PeerToPeer\Collaboration\Peer.cs (3)
865Logging.P2PTraceSource.TraceEvent(TraceEventType.Critical, 0, "userState for which we are about to call Completed event does not exist in the pending async list"); 867Logging.P2PTraceSource.TraceEvent(TraceEventType.Critical, helper.TraceEventId, 1398Logging.P2PTraceSource.TraceEvent(TraceEventType.Critical, 0, "Exception while cancelling the call {0}", ex);
net\PeerToPeer\PeerNameResolver.cs (2)
438Logging.P2PTraceSource.TraceEvent(TraceEventType.Critical, m_TraceEventId, "Exception while cancelling the call "); 868Logging.P2PTraceSource.TraceEvent(TraceEventType.Critical, 0, "userState for which we are about to call Completed event does not exist in the pending async list");
System.ServiceModel (1)
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
784DiagnosticUtility.UnsafeEventLog.UnsafeLogEvent(TraceEventType.Critical,
System.ServiceModel.Internals (8)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
536case TraceEventType.Critical:
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
675case TraceEventType.Critical:
System\Runtime\Diagnostics\EventLogger.cs (1)
235case TraceEventType.Critical:
System\Runtime\ExceptionTrace.cs (3)
257case TraceEventType.Critical: 356logger.LogEvent(TraceEventType.Critical, 365logger.LogEvent(TraceEventType.Critical,
System\Runtime\TraceLevelHelper.cs (2)
24static TraceEventType[] EtwLevelToTraceEventType = { TraceEventType.Critical, TraceEventType.Critical, TraceEventType.Error,
System.Transactions (6)
System\Transactions\Trace\DiagnosticTrace.cs (5)
155DiagnosticTrace.shouldTraceCritical = DiagnosticTrace.ShouldTrace(TraceEventType.Critical); 212DiagnosticTrace.traceEventTypeNames[(int)TraceEventType.Critical] = "Critical"; 247if (DiagnosticTrace.TraceSource.Switch.ShouldTrace(TraceEventType.Critical)) 634TraceEvent(TraceEventType.Critical, DiagnosticTraceCode.UnhandledException, SR.GetString(SR.UnhandledException), null, e, ref DiagnosticTrace.EmptyGuid, false, null); 796case TraceEventType.Critical:
System\Transactions\Trace\TraceRecords.cs (1)
1195DiagnosticTrace.TraceEvent(TraceEventType.Critical,
System.Web (1)
IisTraceListener.cs (1)
187case TraceEventType.Critical:
System.Web.Services (1)
System\Web\Services\Diagnostics\TraceUtility.cs (1)
73if (asmxTraceSource.Switch.ShouldTrace(TraceEventType.Critical)) {
System.Workflow.ComponentModel (1)
AuthoringOM\Activity.cs (1)
1604System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Critical, 0, errorString);
System.Workflow.Runtime (1)
WorkflowRuntime.cs (1)
809WorkflowTrace.Host.TraceEvent(TraceEventType.Critical, 0, "WorkflowRuntime:ServicesExceptionNotHandled event raised for instance Id {0} {1}", instanceId, exception.ToString());