System.MethodAccessException: Constructor Members

The constructors of System.MethodAccessException are listed below. For a list of all members, see the MethodAccessException Members list.

See Also: Inherited members from System.MemberAccessException

Public Constructors

Initializes a new instance of the MethodAccessException class, setting the Exception.Message property of the new instance to a system-supplied message that describes the error, such as "Attempt to access the method failed." This message takes into account the current system culture.

Initializes a new instance of the MethodAccessException class with a specified error message.

Initializes a new instance of the MethodAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Protected Constructors