Home All Groups Group Topic Archive Search About

Quick question about Vista....

Author
22 Nov 2006 5:36 PM
Robinson
Will Vista come with file system transactions, or was this only a
consequence of the now not-shipping winFS?

  i.e. will I be able to:



Try

    FileSystem.BeginTransaction()

    File.Delete ( myFile )
    File.Copy ( fileA, fileB )

    FileSystem.CommitTransaction ()

Catch Ex as Exception

    FileSystem.RollbackTransaction ()

End Try

Author
22 Nov 2006 9:34 PM
punjab_tom
oh I wish that they would do this.. that would rock!

-Tom



Robinson wrote:
Show quoteHide quote
> Will Vista come with file system transactions, or was this only a
> consequence of the now not-shipping winFS?
>
>   i.e. will I be able to:
>
>
>
> Try
>
>     FileSystem.BeginTransaction()
>
>     File.Delete ( myFile )
>     File.Copy ( fileA, fileB )
>
>     FileSystem.CommitTransaction ()
>
> Catch Ex as Exception
>
>     FileSystem.RollbackTransaction ()
>
> End Try
Author
23 Nov 2006 3:23 PM
Ken Tucker [MVP]
Hi,

         Bart De Smet's blog has some interesting stuff on Vista File System
Transactions it is c#.
http://community.bartdesmet.net/blogs/bart/archive/2006/11/05/Windows-Vista-_2D00_-Introducing-TxF-in-C_2300_-_2800_part-1_2900_-_2D00_-Transacted-file-delete.aspx
http://community.bartdesmet.net/blogs/bart/archive/2006/11/19/Windows-Vista-_2D00_-Introducing-TxF-in-C_2300_-_2800_part-2_2900_-_2D00_-Using-System.Transactions-and-the-DTC.aspx

Ken
-----------------------

Show quoteHide quote
"Robinson" wrote:

> Will Vista come with file system transactions, or was this only a
> consequence of the now not-shipping winFS?
>
>   i.e. will I be able to:
>
>
>
> Try
>
>     FileSystem.BeginTransaction()
>
>     File.Delete ( myFile )
>     File.Copy ( fileA, fileB )
>
>     FileSystem.CommitTransaction ()
>
> Catch Ex as Exception
>
>     FileSystem.RollbackTransaction ()
>
> End Try
>
>
>