NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MethodBase.GetCurrentMethod

Returns a MethodBase object representing the currently executing method.

[Visual Basic]
Public Shared Function GetCurrentMethod() As MethodBase
[C#]
public static MethodBase GetCurrentMethod();
[C++]
public: static MethodBase* GetCurrentMethod();
[JScript]
public static function GetCurrentMethod() : MethodBase;

Return Value

Returns a MethodBase object representing the currently executing method.

Remarks

The MethodBase objects are equal if they have the same name and refer to the same System.Runtime.InteropServices.Expando object.

See Also

MethodBase Class | MethodBase Members | System.Reflection Namespace