It is possible to write your own compensating resource manager that will
work with COM+ transactions, but it is a pain, and I wouldn't recommend it.
Not that this is any comfort, but Longhorn will offer a transactional
filesystem. There was a great demo of NTFS transactions during Tech Ed (and
I'm not talking about Win FS either).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Sijin Joseph" <si*********@hotmail.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
One thing to note is that COM+ transactions require that the participating
systems also be transaction aware. So in your case you would need a FS and
an AV software that was transaction enabled. IMHO COM+ will not work in
this
situation, you would be better off writing your own transaction code.
--
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:B7**********************************@microsof t.com... All,
I have a byte[] array that I save as a file to disk, is there anyway of
saving the file as a transaction. For example I save the file to disk
and
virus scan it, if no virus is found I commit the transaction, if a virus
is found I abort the transaction and the file is never written. Is this
possible to do with COM+ if not can someone suggest an alternative
method.
Thanks
Msuk