GetMethodImpl Method

Delegate.GetMethodImpl Method ()

 

Gets the static method represented by the current delegate.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

protected virtual MethodInfo GetMethodImpl()

Return Value

Type: System.Reflection.MethodInfo

A MethodInfo describing the static method represented by the current delegate.

Exception Condition
MemberAccessException

The caller does not have access to the method represented by the delegate (for example, if the method is private).

This method applies only if the current delegate represents a static method.

ReflectionPermission

when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft