This topic has not yet been rated - Rate this topic

HttpException.WebEventCode Property

Gets the event codes that are associated with the HTTP exception.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)
public int WebEventCode { get; internal set; }

Property Value

Type: System.Int32
An integer representing a Web event code.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Not HTTP Status code
This property does not return HTTP status code (i.e. it does not return the number passed to HttpException CTor). To obtain HTTP status code use GetHttpCode.
Event Code Reference Missing
Some kind of Event Code List or Reference would be nice so we know What This Field means.