This documentation is archived and is not being maintained.

WebEventCodes::WebEventProviderInformation Field

Represents the event code used by providers to record nonstandard information about an event. This field is constant.

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

public:
literal int WebEventProviderInformation

WebEventProviderInformation is the major code used by providers to store nonstandard health event information. Its value is greater than MiscCodeBase.

For example, if ASP.NET health events are dropped during buffering, the SimpleMailWebEventProvider adds a warning to the top of the messages without using the WebEventProviderInformation.But the only way for the SqlWebEventProvider to write this warning is to create a record in the database. Because every record in the database needs an event ID, the provider uses the WebEventProviderInformation as its major code and SqlProviderEventsDropped as the detail code to create this ID.

NoteNote:

As you can see from the above discussion, the WebEventProviderInformation is not associated with any ASP.NET health event.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: