共用方式為


<performanceCounter> Element (Network Settings)

Enables network performance counters.

<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