Represents the error that occurs when an I/O operation cannot be performed because of incompatible file access levels.
is typically thrown when a request is made to write to a read-only file, or a file I/O operation is requested on a directory.
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
mscorlib (in mscorlib.dll)
1.0.5000.0, 18.104.22.168, 22.214.171.124