MethodBase.GetMethodFromHandle Method (RuntimeMethodHandle)

 

Gets method information by using the method's internal metadata representation (handle).

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

public static MethodBase GetMethodFromHandle(
	RuntimeMethodHandle handle
)

Parameters

handle
Type: System.RuntimeMethodHandle

The method's handle.

Return Value

Type: System.Reflection.MethodBase

A MethodBase containing information about the method.

Exception Condition
ArgumentException

handle is invalid.

Handles are valid only in the application domain in which they were obtained.

ReflectionPermission

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: