Export (0) Print
Expand All

MethodBase.GetMethodFromHandle Method (RuntimeMethodHandle)

Gets method information for the method that is represented by the specified 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
The method that is represented by handle.

ExceptionCondition
ArgumentException

handle is invalid.

MethodAccessException

This member is invoked late-bound through mechanisms such as Type.InvokeMember.

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

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

 GetMethodFromHandle does not throw any exception when an invalid handle is passed as input. Instead, it returns null.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft