The exception that is thrown when an attempt to access a class member fails.
For a list of all members of this type, see MemberAccessException Members.
System.Object
System.Exception
System.SystemException
System.MemberAccessException
System.FieldAccessException
System.MethodAccessException
System.MissingMemberException
[Visual Basic] <Serializable> Public Class MemberAccessException Inherits SystemException [C#] [Serializable] public class MemberAccessException : SystemException [C++] [Serializable] public __gc class MemberAccessException : public SystemException [JScript] public Serializable class MemberAccessException extends SystemException
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
MemberAccessException is the base class for FieldAccessException, MethodAccessException, MissingMemberException, MissingMethodException, and MissingFieldException. These exceptions are thrown when a class member is not found or access to the member is not permitted.
MemberAccessException is thrown by the following methods: Invoke of the System.Reflection classes, GetValue of the FieldInfo class, and DynamicInvoke of the Delegate class.
MemberAccessException uses the HRESULT COR_E_MEMBERACCESS, that has the value 0x8013151A.
For a list of initial property values for an instance of MemberAccessException, see the MemberAccessException constructors.
Namespace: System
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET
Assembly: Mscorlib (in Mscorlib.dll)
MemberAccessException Members | System Namespace | Exception |