Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IisTraceWebEventProvider Class

IisTraceWebEventProvider Class

Represents an event provider that routes ASP.NET tracing events to the IIS 7.0 infrastructure.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public sealed class IisTraceWebEventProvider : WebEventProvider

The IisTraceWebEventProvider type exposes the following members.

Public methodIisTraceWebEventProviderInitializes a new instance of the Iis7TraceWebEventProvider class.

Public propertyDescriptionGets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.)
Public propertyNameGets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.)

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFlushMoves the events from the provider's buffer into the event log. (Overrides WebEventProvider.Flush().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeInitializes a new instance of the Iis7TraceWebEventProvider with the data that is necessary to process events. (Overrides ProviderBase.Initialize(String, NameValueCollection).)
Public methodProcessEventProcesses the event that was passed to the provider. (Overrides WebEventProvider.ProcessEvent(WebBaseEvent).)
Public methodShutdownPerforms tasks that are associated with shutting down the provider. (Overrides WebEventProvider.Shutdown().)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

ASP.NET health monitoring enables administrators to manage deployed Web applications. The System.Web.Management namespace contains the event types that obtain health-status data and the provider types that process this data. It also contains supporting types that help you manage health events.

The Iis7TraceWebEventProvider class is a customized health-event provider that processes ASP.NET tracing events by routing them through the IIS 7.0 tracing infrastructure. This routing occurs only when tracing is enabled in ASP.NET.

IisTraceWebEventProvider is introduced in the .NET Framework 3.5. For more information, see .NET Framework Versions and Dependencies.


This class does not route IIS 7.0 trace events into ASP.NET page events.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft