94 references to IsTraceEnabled
System.Web (94)
Compilation\AssemblyBuilder.cs (2)
971
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_COMPILE_ENTER, context.WorkerRequest);
984
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null) {
Compilation\BuildProvider.cs (2)
408
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && (context = HttpContext.Current) != null)
420
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null)
Hosting\IIS7WorkerRequest.cs (3)
126
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, this, Thread.GetDomain().FriendlyName);
270
if (EtwTrace.
IsTraceEnabled
(EtwTrace.InferVerbosity(traceType), areaFlag)) {
279
if (EtwTrace.
IsTraceEnabled
(webEvent.InferEtwTraceVerbosity(), EtwTraceFlags.Infrastructure)) {
Hosting\ISAPIWorkerRequest.cs (4)
1055
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, ecb, Thread.GetDomain().FriendlyName, null, false);
1069
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_APPDOMAIN_ENTER, ecb, Thread.GetDomain().FriendlyName, null, true);
2053
if (EtwTrace.
IsTraceEnabled
(EtwTrace.InferVerbosity(traceType), areaFlag)) {
2062
if (EtwTrace.
IsTraceEnabled
(webEvent.InferEtwTraceVerbosity(), EtwTraceFlags.Infrastructure)) {
HttpApplication.cs (15)
3075
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) {
3081
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, targetTypeStr);
3151
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, context.WorkerRequest, _targetTypeStr);
3196
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) {
3232
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, _targetTypeStr);
3304
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_MAPHANDLER_ENTER, context.WorkerRequest);
3361
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_MAPHANDLER_LEAVE, context.WorkerRequest);
3386
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_MAPHANDLER_ENTER, context.WorkerRequest);
3397
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_MAPHANDLER_LEAVE, context.WorkerRequest);
3467
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_HTTPHANDLER_LEAVE, context.WorkerRequest);
3529
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_HTTPHANDLER_ENTER, context.WorkerRequest);
3595
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_HTTPHANDLER_LEAVE, context.WorkerRequest);
3616
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_HTTPHANDLER_LEAVE, context.WorkerRequest);
3735
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) {
3741
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, targetTypeStr);
HttpRuntime.cs (4)
1479
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_START_HANDLER, context.WorkerRequest, handler.GetType().FullName, "Start");
1605
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_END_HANDLER, context.WorkerRequest);
1691
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_START_HANDLER, context.WorkerRequest, app.GetType().FullName, "Start");
1750
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_END_HANDLER, context.WorkerRequest);
Management\WebEvents.cs (4)
531
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null)
579
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null)
610
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null)
627
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure) && context != null)
PartitionResolver.cs (2)
51
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure))
108
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Infrastructure)) {
Profile\SqlProfileProvider.cs (2)
146
if (context != null && HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PROFILE_BEGIN, HttpContext.Current.WorkerRequest);
194
if (context != null && HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PROFILE_END, HttpContext.Current.WorkerRequest, userName);
RequestQueue.cs (2)
79
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_REQ_QUEUED, wr);
103
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.Infrastructure)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_REQ_DEQUEUED, wr);
Security\RolePrincipal.cs (3)
101
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
143
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
150
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
Security\Roles.cs (6)
96
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
114
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) {
115
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.AppSvc)) {
132
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
153
if (HostingEnvironment.IsHosted && EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) {
154
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.AppSvc)) {
State\SessionStateModule.cs (5)
621
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_SESSION_DATA_BEGIN, _rqContext.WorkerRequest);
632
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_SESSION_DATA_END, _rqContext.WorkerRequest);
684
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_SESSION_DATA_END, _rqContext.WorkerRequest);
718
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_SESSION_DATA_END, _rqContext.WorkerRequest);
853
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_SESSION_DATA_END, _rqContext.WorkerRequest);
UI\Page.cs (40)
4736
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_INIT_ENTER, _context.WorkerRequest);
4738
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_INIT_LEAVE, _context.WorkerRequest);
4742
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_INIT_ENTER, _context.WorkerRequest);
4744
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_INIT_LEAVE, _context.WorkerRequest);
4753
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_VIEWSTATE_ENTER, _context.WorkerRequest);
4755
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_VIEWSTATE_LEAVE, _context.WorkerRequest);
4761
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_POSTDATA_ENTER, _context.WorkerRequest);
4763
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_POSTDATA_LEAVE, _context.WorkerRequest);
4772
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_ENTER, _context.WorkerRequest);
4774
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_LEAVE, _context.WorkerRequest);
4786
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_POST_DATA_CHANGED_ENTER, _context.WorkerRequest);
4788
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_POST_DATA_CHANGED_LEAVE, _context.WorkerRequest);
4793
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RAISE_POSTBACK_ENTER, _context.WorkerRequest);
4795
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RAISE_POSTBACK_LEAVE, _context.WorkerRequest);
4808
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_RENDER_ENTER, _context.WorkerRequest);
4810
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_RENDER_LEAVE, _context.WorkerRequest);
4845
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_SAVE_VIEWSTATE_ENTER, _context.WorkerRequest);
4849
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_SAVE_VIEWSTATE_LEAVE, _context.WorkerRequest);
4860
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RENDER_ENTER, _context.WorkerRequest);
4869
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RENDER_LEAVE, _context.WorkerRequest);
5032
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_INIT_ENTER, _context.WorkerRequest);
5034
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_INIT_LEAVE, _context.WorkerRequest);
5038
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_INIT_ENTER, _context.WorkerRequest);
5041
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_INIT_LEAVE, _context.WorkerRequest);
5053
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_VIEWSTATE_ENTER, _context.WorkerRequest);
5055
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_VIEWSTATE_LEAVE, _context.WorkerRequest);
5061
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_POSTDATA_ENTER, _context.WorkerRequest);
5069
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_POSTDATA_LEAVE, _context.WorkerRequest);
5081
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_ENTER, _context.WorkerRequest);
5083
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_LOAD_LEAVE, _context.WorkerRequest);
5101
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_POST_DATA_CHANGED_ENTER, _context.WorkerRequest);
5103
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_POST_DATA_CHANGED_LEAVE, _context.WorkerRequest);
5108
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RAISE_POSTBACK_ENTER, _context.WorkerRequest);
5113
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RAISE_POSTBACK_LEAVE, _context.WorkerRequest);
5129
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_RENDER_ENTER, _context.WorkerRequest);
5131
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_PRE_RENDER_LEAVE, _context.WorkerRequest);
5166
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_SAVE_VIEWSTATE_ENTER, _context.WorkerRequest);
5170
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_SAVE_VIEWSTATE_LEAVE, _context.WorkerRequest);
5181
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RENDER_ENTER, _context.WorkerRequest);
5190
if (EtwTrace.
IsTraceEnabled
(EtwTraceLevel.Verbose, EtwTraceFlags.Page)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PAGE_RENDER_LEAVE, _context.WorkerRequest);