Копировать ссылку на страницу

Секция configSections содержит секции настроек всех сервисов преобразования, работающих на данном компьютере. Секции файла нельзя изменять. Можно удалять только информацию о не используемых сервисах. Подробнее см. раздел «DctsTransformationService.exe.config».

Структура секции:

 
<configSections>
<section {Секция настроек}/>
<sectionGroup name="Dcts">
   {Секция настроек}
   ...
</sectionGroup>
</configSections>
где {Секция настроек}::=
<section name="{Название секции}" type="{Описание класса}"/>

section – секция настроек.

name. Название одной из секций файла настроек.

type. Описание класса, реализующего объект, настройки которого задаются в секции. В качестве значения описание класса укажите через запятую имя класса и имя сборки файла.

Свернуть/развернуть пример Пример

<configSections>
<section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.
ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common,
Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<section
    name ="systemLanguage"
    type="NpoComputer.Dcts.LanguageSection, NpoComputer.Dcts.Library"/>
<sectionGroup name="Dcts">
  <section name="TransformationServices" type="NpoComputer.Dcts.Transformation.
  TransformationServiceConfigurationSection,
  DctsTransformationService"/>
  <section name="TiffTransformation" type="NpoComputer.Dcts.Transformation.
    TiffTransformation.TiffTransformationConfigurationSection,
    NpoComputer.Dcts.TiffTransformation"/>
  <section name="BarcodeRecognition" type="NpoComputer.Dcts.
    Transformation.BarcodeRecognition.
    BarcodeRecognitionConfigurationSection,
    NpoComputer.Dcts.BarcodeRecognition"/>
</sectionGroup>
</configSections>

© 2016 Компания DIRECTUM Сообщество пользователей DIRECTUM