Mono Class Library: System Namespace

System.UnauthorizedAccessException Class

Represents the error that occurs when an I/O operation cannot be performed because of incompatible file access levels. [Edit]

See Also: UnauthorizedAccessException Members

System.Object
     System.Exception
          System.SystemException
               System.UnauthorizedAccessException

[System.Runtime.InteropServices.ComVisible(true)]
public class UnauthorizedAccessException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

UnauthorizedAccessException 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. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0