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.
[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 thread safe. 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 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.
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
Assembly: Mscorlib (in Mscorlib.dll)