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