C # in a Nutshell, Second Edition

UnauthorizedAccessException CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) class

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 ); }

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException UnauthorizedAccessException

Категории