Share via


TraceProviderDefinition Class [IIS 7 and higher]

Specifies a trace provider's name, GUID, and trace area enumeration.

Syntax

class TraceProviderDefinition : CollectionElement

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the TraceProviderDefinition class.

Name

Description

Areas

A TraceAreaSettings value that optionally specifies an enumeration of filter flags or trace areas for a trace provider.

Guid

A required read/write string value that identifies the trace provider for Event Tracing for Windows (ETW) support. You can list this GUID by running logman query providers at a command prompt.

Name

A required unique read/write string value that contains the friendly name of the trace provider. The key property.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the TraceProviderDefinitions property of the TraceProviderDefinitionsSection class.

Common trace providers are "ASP", "ASPNET", "ISAPI Extension", and "WWW Server". These are included by default in the ApplicationHost.config file.

Inheritance Hierarchy

CollectionElement

   TraceProviderDefinition

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

CollectionElement Class [IIS 7 and higher]

FailureDefinition Class [IIS 7 and higher]

HttpTracingSection Class [IIS 7 and higher]

TraceAreaElement Class [IIS 7 and higher]

TraceAreaSettings Class [IIS 7 and higher]

TraceFailedRequestsSection Class [IIS 7 and higher]

TraceProviderDefinitionsSection Class [IIS 7 and higher]

TraceUrl Class [IIS 7 and higher]

Other Resources

Create a Tracing Rule for Failed Requests

Logman