0

我的 app.config 中有以下内容:

<XPathFilter>
    <outbound>
     <filter **message="ProductChangeMessage"**  xpath="//acs:productDetails[acs:productType =  'Loan']" />
      <filter **message="ProductChangeMessage"**  xpath="//acs:productDetails[acs:productType = 'Test']" />
   </outbound>
</XPathFilter>

我有一组用于从这里读取元素的类......它们工作正常,除非 2 个过滤器具有相同的消息值。我明白了

System.Configuration.ConfigurationErrorsException:已添加条目“ProductChangeMes​​sage”。

是不是不允许。

4

1 回答 1

0

答案是否定的。您收到的错误消息回答了您的问题。

于 2014-06-05T11:44:27.447 回答