Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures system diagnostics and tracing.
Syntax
class SystemDiagnosticsSection : ConfigurationSectionWithCollection
Methods
The following table lists the methods exposed by the SystemDiagnosticsSection
class.
Name | Description |
---|---|
Add | (Inherited from ConfigurationSectionWithCollection.) |
Clear | (Inherited from ConfigurationSectionWithCollection .) |
Get | (Inherited from ConfigurationSectionWithCollection .) |
GetAllowDefinition | (Inherited from ConfigurationSection.) |
GetAllowLocation | (Inherited from ConfigurationSection .) |
Remove | (Inherited from ConfigurationSectionWithCollection .) |
RevertToParent | (Inherited from ConfigurationSection .) |
SetAllowDefinition | (Inherited from ConfigurationSection .) |
SetAllowLocation | (Inherited from ConfigurationSection .) |
Properties
The following table lists the properties exposed by the SystemDiagnosticsSection
class.
Name | Description |
---|---|
Assert |
An AssertSettings value that specifies the user-interface mode for the System.Diagnostics.Debug.Assert method and the name of a message log file. |
Location |
(Inherited from ConfigurationSection .) A key property. |
Path |
(Inherited from ConfigurationSection .) A key property. |
PerformanceCounters |
A PerformanceCounterSettings value that specifies the size of the global memory shared by performance counters. |
SectionInformation |
(Inherited from ConfigurationSection .) |
SharedListeners |
A ListenerSettings value that contains listeners that any source or trace element can reference. |
Sources |
A SourceSettings value that specifies trace sources that initiate tracing messages. |
Switches |
A SwitchSettings value that contains trace switch definitions. |
Trace |
A TraceSettings value that contains listeners that collect, store, and route tracing messages. |
Subclasses
This class contains no subclasses.
Inheritance Hierarchy
ConfigurationSectionWithCollection
SystemDiagnosticsSection
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
AssertSettings Class
ConfigurationSectionWithCollection Class
ListenerSettings Class
PerformanceCounterSettings Class
SourceSettings Class
SwitchSettings Class
TraceSettings Class
System.Diagnostics.Debug.Assert Method