G
Guest
Hi,
Someone knows what happens in detail if Directory.Moves (.NET C# 2.0) throws
an exception?
Background:
I'm stepping through all subdirectories within some directory (e.g. c:\test)
and moveing all those directories to another location.
If moveing ONE subdirectory fails I'm trying to move back all previous
correctly
moved directories ... so far so good ...
But what happen with the last directory which movement caused the exception.
Does this directory keeps its "original" state, or are just some files
moved, ...
Thanks in advance for an answer
and regards,
Martin
Someone knows what happens in detail if Directory.Moves (.NET C# 2.0) throws
an exception?
Background:
I'm stepping through all subdirectories within some directory (e.g. c:\test)
and moveing all those directories to another location.
If moveing ONE subdirectory fails I'm trying to move back all previous
correctly
moved directories ... so far so good ...
But what happen with the last directory which movement caused the exception.
Does this directory keeps its "original" state, or are just some files
moved, ...
Thanks in advance for an answer
and regards,
Martin