Export (0) Print
Expand All

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 ref class IisTraceWebEventProvider sealed : public WebEventProvider

The IisTraceWebEventProvider type exposes the following members.

  NameDescription
Public methodIisTraceWebEventProviderInitializes a new instance of the Iis7TraceWebEventProvider class.
Top

  NameDescription
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.)
Top

  NameDescription
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.)
Top

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.

NoteNote

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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