다음을 통해 공유


add Element for areas for traceProviderDefinitions for tracing [IIS Settings Schema]

Note

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Areas <add>.

Adds a functional area to the collection of functional areas to trace.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

name

Required string attribute.

Specifies the name of the functional area for the trace provider to trace.

value

Required int attribute.

Specifies the value of the functional area for the trace provider to trace. For the "WWW Server", "ASP", "ISAPI Extension", and "ASPNET" providers, this value maps to the corresponding flag values in ETW Tracing. Values increase in multiples of 2.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

tracing

Configures request trace settings

traceProviderDefinitions

Defines the trace providers that are used on the Web server.

add

Adds a trace provider to the collection of trace providers.

areas

Specifies the functional areas for the provider to trace.

Remarks

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Areas <add>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

See Also

Reference

remove Element for areas for traceProviderDefinitions for tracing [IIS Settings Schema]

clear Element for areas for traceProviderDefinitions for tracing [IIS Settings Schema]