Επεξεργασία

Κοινή χρήση μέσω


IisTraceWebEventProvider Class

Definition

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

public ref class IisTraceWebEventProvider sealed : System::Web::Management::WebEventProvider
public sealed class IisTraceWebEventProvider : System.Web.Management.WebEventProvider
type IisTraceWebEventProvider = class
    inherit WebEventProvider
Public NotInheritable Class IisTraceWebEventProvider
Inherits WebEventProvider
Inheritance
IisTraceWebEventProvider

Remarks

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 IisTraceWebEventProvider 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 Versions and Dependencies.

Note

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

Constructors

IisTraceWebEventProvider()

Initializes a new instance of the IisTraceWebEventProvider class.

Properties

Description

Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).

(Inherited from ProviderBase)
Name

Gets the friendly name used to refer to the provider during configuration.

(Inherited from ProviderBase)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Flush()

Moves the events from the provider's buffer into the event log.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(String, NameValueCollection)

Initializes a new instance of the IisTraceWebEventProvider with the data that is necessary to process events.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProcessEvent(WebBaseEvent)

Processes the event that was passed to the provider.

Shutdown()

Performs tasks that are associated with shutting down the provider.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to