StackFrame.GetMethod メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim instance As StackFrame Dim returnValue As MethodBase returnValue = instance.GetMethod
フレームを実行しているメソッド。

GetMethod メソッドを使用する方法を次のコード例に示します。
Dim frame As New StackFrame(1, True) Dim strace As New StackTrace(frame) EventLog.WriteEntry(frame.GetMethod().Name, _ strace.ToString(), _ EventLogEntryType.Warning)
StackFrame fr = new StackFrame(1,true); StackTrace st = new StackTrace(fr); EventLog.WriteEntry(fr.GetMethod().Name, st.ToString(), EventLogEntryType.Warning);

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- StackFrame.GetMethod メソッドのページへのリンク