File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -2475,11 +2475,12 @@ The following example moves a file.
2475
2475
2476
2476
]]> </format >
2477
2477
</remarks >
2478
- <exception cref =" T:System.IO.IOException" >The destination file already exists.
2479
-
2480
- -or-
2481
-
2482
- <paramref name =" sourceFileName" /> was not found.</exception >
2478
+ <exception cref =" T:System.IO.IOException" >
2479
+ <paramref name =" destFileName" /> already exists.
2480
+ </exception >
2481
+ <exception cref =" T:System.IO.FileNotFoundException" >
2482
+ <paramref name =" sourceFileName" /> was not found.
2483
+ </exception >
2483
2484
<exception cref =" T:System.ArgumentNullException" >
2484
2485
<paramref name =" sourceFileName" /> or <paramref name =" destFileName" /> is <see langword =" null" />.</exception >
2485
2486
<exception cref =" T:System.ArgumentException" >
@@ -2552,6 +2553,9 @@ The following example moves a file.
2552
2553
]]> </format >
2553
2554
</remarks >
2554
2555
<exception cref =" T:System.IO.IOException" >
2556
+ <paramref name =" destFileName" /> already exists and <paramref name =" overwrite" /> is <see langword =" false" />.
2557
+ </exception >
2558
+ <exception cref =" T:System.IO.FileNotFoundException" >
2555
2559
<paramref name =" sourceFileName" /> was not found.</exception >
2556
2560
<exception cref =" T:System.ArgumentNullException" >
2557
2561
<paramref name =" sourceFileName" /> or <paramref name =" destFileName" /> is <see langword =" null" />.</exception >
You can’t perform that action at this time.
0 commit comments