Delegate.GetMethodImpl Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: