System.MemberAccessException Class
MemberAccessException is the base class for exceptions that occurs when an attempt to locate or access a type member fails.

See Also: MemberAccessException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class MemberAccessException : SystemException

Remarks

Note:

MemberAccessException exceptions are typically thrown by the system when members in a class library have been changed or removed, and an assembly that references the class library has not been recompiled.

The Base Class Library includes the following derived types:

When appropriate, use these types instead of MemberAccessException.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0