Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我们的软件中,有一个硬编码(在工作流中的 C# 代码中表示)事务超时已在事务范围中实现。有没有办法在不更改代码的情况下覆盖(增加!)设置?
.Net 3.5 WF 3.5
我知道有默认和最大事务超时设置,但遗憾的是它们在这里无济于事。
修改您的代码以使用配置文件中的设置。之后,只需更改配置文件中的值,代码将自动读取新值。
没有可能这样做。