2014-06-05 23 views
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個過濾器具有相同的消息值一組I用來讀取從這裏的元素......他們正常工作班。我得到

System.Configuration.ConfigurationErrorsException:條目 'ProductChangeMes​​sage'已被添加。

是不允許的。

回答

0

答案是否。您得到的錯誤信息回答了您的問題。

相關問題