System.MissingMemberException Class
Represents the error that occurs when there is an attempt to dynamically access a class member that does not exist.

See Also: MissingMemberException Members

Syntax

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

Remarks

Normally a compilation error is generated if code attempts to access a nonexistent member of a class. MissingMemberException is designed to handle cases where an attempt is made to dynamically access a renamed or deleted member of an assembly that is not referenced by its strong name. The MissingMemberException is thrown when code in a dependent assembly attempts to access a missing member in an assembly that was modified.

Note:

The Base Class Library includes the following derived types:

When appropriate, use these types instead of MissingMemberException.

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