Transactional NTFS (TxF) on Process.Start()

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-06-01T15:54:54Z Indexed on 2010/06/01 16:03 UTC
Read the original article Hit count: 247

Filed under:
|
|

Consider the following code:

try
{
    using(TransactionScope)
    {
       Process.Start("SQLInstaller.EXE");
       throw new Exception();
       Commit();
    }
}
catch(Exception ex)
{
//Do something here
}

Will the changes made by SQLInstaller.exe be rollback in this scenario? More specifically, will the changes made by an external process launched through Process.Start() be handled by TxF?

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about acid