Any method to return the current procedure name in VB.Net

  • Thread starter Thread starter Norton
  • Start date Start date
N

Norton

Dear All,

Does anyone know hoe to get the current procedure name in Vb.Net ?

Example
Private Function TestingMe() as string
Return thisProcedureName
End Function

and the function can return "TestingMe"
 
you can use this method:

System.Reflection.MethodBase.GetCurrentMethod.Name()

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Back
Top