Skip to content

Commit

Permalink
add missing config file excerpt (dotnet#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
mairaw authored Oct 18, 2018
1 parent c79e7df commit 0ec9df2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions xml/System.Configuration/ConfigurationProperty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,17 @@
The following is an excerpt of the configuration file used by the code in the previous example.
```xml
<configuration>
<configSections>
<section name="CustomSection" type="ConfigurationPropertyExample.CustomSection, ConfigurationPropertyExample"
allowDefinition="Everywhere" allowExeDefinition="MachineToApplication"
restartOnExternalChanges="true" />
</configSections>
<CustomSection fileName="override.txt" alias="alias.txt"
maxUsers="1000" maxIdleTime="00:05:00" />
</configuration>
```
The following example shows how to create the previous section in code.
Expand Down Expand Up @@ -876,4 +886,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>

0 comments on commit 0ec9df2

Please sign in to comment.