Name

MemberAccessException

Synopsis

This is the superclass of several exceptions that indicate a failed attempt to access a class member.

public class MemberAccessException : SystemException {
// Public Constructors
   public method MemberAccessException();  
   public method MemberAccessException(string message);  
   public method MemberAccessException(string message, 
        Exception inner);  
// Protected Constructors
   protected method MemberAccessException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionMemberAccessException

Subclasses

FieldAccessException, MethodAccessException, MissingMemberException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.