asp.net.ph

MethodAccessException Class

System Namespace


The exception that is thrown when there is an illegal attempt to access a private or protected method inside a class.

MethodAccessException Class Members

Collapse   Constructors

Visibility Constructor Parameters
public MethodAccessException ( )
public MethodAccessException ( String message )
public MethodAccessException ( String message , Exception inner )

Remarks

This exception is typically thrown when the access level of a method in a class library is changed, and one or more assemblies referencing the library have not been recompiled.

MethodAccessException uses the HRESULT COR_E_METHODACCESS, that has the value 0x80131510.

For a list of initial property values for an instance of MethodAccessException, see the MethodAccessException constructors.

See Also

Exception Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note