Troubleshooting Exceptions: System.MethodAccessException
TOC
Collapse the table of content
Expand the table of content

Troubleshooting Exceptions: System.MethodAccessException 

A MethodAccessException exception is thrown when there is an invalid attempt to access a private or protected method inside a class.

If the access level of a method in a class library has changed, recompile any assemblies that reference the library.

This exception typically arises when the caller does not have access permission to the member.

Show:
© 2016 Microsoft