用于事务文件系统访问的.net持久资源管理器

发布于 2024-07-23 15:08:07 字数 293 浏览 7 评论 0原文

我正在尝试了解 C# 中 System.Transactions 命名空间的使用。 我在 MSDN 上找到了一些有关使用资源管理器的文档,但它仅涵盖了易失性​​、内存中资源管理器的任何细节(例如 Transactional )。 我基本上是在寻找可以在 TransactionScope 内部使用的东西,就像 Transactional<> 一样。 但用它来写入/修改/删除磁盘上的文件。 标准库中是否存在类似的东西? 我读到 NTFS 现在有“TxF”来允许事务性文件系统访问 - 我希望在 .net 中找到利用它的东西。 也许我需要实现自己的?

I'm trying to wrap my head around the use of the System.Transactions namespace in C#. I've found some documentation on MSDN regarding using resource managers, but it only covers volatile, in-memory resource managers in any detail (like Transactional ). I'm basically looking for something that I can use inside of a TransactionScope, just like Transactional<> but use it for writing/modifying/deleting files on disk. Does something like this exist in the standard libs? I've read that NTFS has "TxF" now to allow transactional filesystem access - I was expecting to find something in .net that leverages that. Perhaps I need to implement my own?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

定格我的天空 2024-07-30 15:08:07

您的意思是这篇 MSDN 文章中描述的内容还是这不是你在找什么?

Bart de Smet 还具有 他的博客上有一篇关于此内容的文章

Do you mean something as described in this MSDN article or is this not what you are looking for?

Bart de Smet also has an article about this on his blog.

撩人痒 2024-07-30 15:08:07

我认为您需要自己实施它。 但请参阅以下内容以开始使用:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文