Name

MethodAccessException

Synopsis

This exception indicates a failed attempt to access a method.

public class MethodAccessException : MemberAccessException {
// Public Constructors
   public method MethodAccessException();  
   public method MethodAccessException(string message);  
   public method MethodAccessException(string message, 
        Exception inner);  
// Protected Constructors
   protected method MethodAccessException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionMemberAccessExceptionMethodAccessException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.