Dela via


<performanceCounter> Element (Network Settings)

Enables network performance counters.

<configuration> Element
  <system.net> Element (Network Settings)
    <settings> Element (Network Settings)
      <performanceCounter> Element (Network Settings)

<performanceCounters
  enabled="true|false"
/>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

enabled

Specifies whether the performance counters are enabled.

Child Elements

None.

Parent Elements

Element

Description

<settings>

Configures basic network options for the System.Net namespace.

Remarks

This element can be used in the application configuration file or the machine configuration file (Machine.config).

See Also

Reference

Network Settings Schema