Function GetCurrentMethodName() As String Dim stack As New System.Diagnostics.StackFrame(True) Return stack.GetMethod().NameEnd Function