TraceProviderDefinition Class
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
TraceProviderDefinition
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
MOF file | WebAdministration.mof |
See Also
CollectionElement Class
Create a Tracing Rule for Failed Requests
FailureDefinition Class
HttpTracingSection Class
TraceAreaElement Class
TraceAreaSettings Class
TraceFailedRequestsSection Class
TraceProviderDefinitionsSection Class
TraceUrl Class
Logman