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

Field Value

Type: System::Int32

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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: