对于事务性文件系统访问.NET持久资源管理器 [英] .net durable resource manager for transactional filesystem access

查看:243
本文介绍了对于事务性文件系统访问.NET持久资源管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想环绕在C#中使用System.Transactions的命名空间我的头。我发现在MSDN上使用资源管理器对一些文档,但它只包括挥发性,内存资源管理器中的任何细节(如事务)。基本上,我寻找的东西,我可以一个TransactionScope内使用,就像事务<>,但用它来写/修改/删除磁盘上的文件。有没有这样的事情存在于标准库?我读过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?

推荐答案

你的意思是在的这个MSDN文章,或这是你正在寻找?不是

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

巴特迪斯也有<一个href="http://community.bartdesmet.net/blogs/bart/archive/2006/11/05/Windows-Vista-%5F2D00%5F-Introducing-TxF-in-C%5F2300%5F-%5F2800%5Fpart-1%5F2900%5F-%5F2D00%5F-Transacted-file-delete.aspx"相对=nofollow>这个在他的博客文章。

这篇关于对于事务性文件系统访问.NET持久资源管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆