See Also: MemberAccessException Members
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:
System.Reflection.MethodBase.Invoke(object, System.Reflection.BindingFlags, System.Reflection.Binder, Object, System.Globalization.CultureInfo) of the System.Reflection classes, System.Reflection.FieldInfo.GetValue(object) of the System.Reflection.FieldInfo class, and Delegate.DynamicInvoke(Object) of the Delegate class.
MemberAccessException uses the HRESULT COR_E_MEMBERACCESS, that has the value 0x8013151A.