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 MemberAccessException( ); public MemberAccessException(stringmessage
); public MemberAccessException(stringmessage
, Exceptioninner
); // Protected Constructors protected MemberAccessException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }
Hierarchy
Object
→
Exception(System.Runtime.Serialization.ISerializable)
→
SystemException
→
MemberAccessException
Subclasses
FieldAccessException
,
MethodAccessException
,
MissingMemberException
Get C# in a Nutshell, Second Edition 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.