TraceAreaElement Class [IIS 7 and higher]
Specifies criteria for generating trace events and configures the content of log file entries.
The following table lists the properties exposed by the TraceAreaElement class.
A read/write string value that has a comma-delimited list, without spaces, of areas whose requests are traced when the Provider property is set to "ASPNET" or "WWW server". When Provider is set to "ASPNET," the possible values are "Infrastructure", "Module", "Page", and "AppServices". When Provider is set to "WWW server", the possible values are "Authentication", "Security", "Filter", "StaticFile", "CGI", "Compression", "Cache", "RequestNotifications", and "All".
A required unique read/write string value that contains the name of the provider whose failed requests are traced. The possible values are "ASP", "ASPNET", "ISAPI Extension", and "WWW Server". The key property.
A read/write sint32 value that specifies the level of verbosity when failed requests are logged. The possible values are listed in the Remarks section below.
Instances of this class are contained in the TraceAreas array property of the TraceUrlAreaSettings class.
The following table lists the possible values for the Verbosity property. The default is 3 (Warning).
For a request to be marked as failed, the events raised must have a level less than or equal to the value in Verbosity. General events are excluded from this calculation.
Provides information about the context of the request activity, such as the URL and verb for the request.
Provides information about actions that can cause a process to exit or that are about to cause a process to exit.
Provides information about components that experience an error and cannot continue to process requests. These errors usually indicate a server-side problem.
Provides information about components that experience an error but can continue processing requests. The default.
Provides general information about requests.
Provides detailed information about requests.