MethodAccessException Class

The exception that is thrown when there is an invalid attempt to access a method, such as accessing a private method from partially trusted code.