GetMethod Method
Collapse the table of content
Expand the table of content

StackFrame.GetMethod Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the method in which the frame is executing.

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

public virtual MethodBase GetMethod()

Return Value

Type: System.Reflection.MethodBase
The method in which the frame is executing.

The method that is currently executing may be inherited from a base class, although it is called in a derived class. In this case, the ReflectedType property of the MethodBase object that is returned by GetMethod identifies the base class, not the derived class.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft