System.Web.Management.WebEventCodes.WebEventProviderInformation Field

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

Value: 6001

Syntax

public const int WebEventProviderInformation

Remarks

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

For example, if ASP.NET health events are dropped during buffering, the System.Web.Management.SimpleMailWebEventProvider adds a warning to the top of the messages without using the WebEventCodes.WebEventProviderInformation.But the only way for the System.Web.Management.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 WebEventCodes.WebEventProviderInformation as its major code and WebEventCodes.SqlProviderEventsDropped as the detail code to create this ID.

Note:

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

Requirements

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