This exception signals a failed attempt
to access a resource (for example,
trying to delete a read-only file).
public class UnauthorizedAccessException : SystemException {
// Public Constructors
public UnauthorizedAccessException( );
public UnauthorizedAccessException(string message);
public UnauthorizedAccessException(string message,
Exception inner);
// Protected Constructors
protected UnauthorizedAccessException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context);
}