You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.IO/FileSystemInfo.xml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -274,11 +274,13 @@
274
274
<exceptioncref="T:System.IO.FileNotFoundException">The specified file doesn't exist. Only thrown when setting the property value.</exception>
275
275
<exceptioncref="T:System.IO.DirectoryNotFoundException">The specified path is invalid. For example, it's on an unmapped drive. Only thrown when setting the property value.</exception>
276
276
<exceptioncref="T:System.Security.SecurityException">The caller doesn't have the required permission.</exception>
277
+
<exceptioncref="T:System.UnauthorizedAccessException">.NET Core only: The user attempts to set an attribute value but doesn't have write permission.</exception>
278
+
<exceptioncref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
277
279
<exceptioncref="T:System.ArgumentException">The caller attempts to set an invalid file attribute.
278
280
279
281
-or-
280
282
281
-
The user attempts to set an attribute value but doesn't have write permission.</exception>
283
+
.NET Framework only: The user attempts to set an attribute value but doesn't have write permission.</exception>
282
284
<exceptioncref="T:System.IO.IOException">
283
285
<seecref="M:System.IO.FileSystemInfo.Refresh" /> cannot initialize the data.</exception>
0 commit comments