← Interactive API Explorer
Namespace: System

UnauthorizedAccessException

The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.

Methods (1)

UnauthorizedAccessException(String)Constructor
Initializes a new instance of the UnauthorizedAccessException class with a specified error message.
ParameterDescription
messageThe message that describes the error.