Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MethodBase Class

Provides information about methods and constructors.

For a list of all members of this type, see MethodBase Members.

System.Object
   System.Reflection.MemberInfo
      System.Reflection.MethodBase
         System.Reflection.ConstructorInfo
         System.Reflection.MethodInfo

[Visual Basic]
<Serializable>
<ClassInterface(ClassInterfaceType.AutoDual)>
MustInherit Public Class MethodBase
   Inherits MemberInfo
[C#]
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class MethodBase : MemberInfo
[C++]
[Serializable]
[ClassInterface(ClassInterfaceType::AutoDual)]
public __gc __abstract class MethodBase : public MemberInfo
[JScript]
public
   Serializable
 ClassInterface(ClassInterfaceType.AutoDual)
abstract class MethodBase extends MemberInfo

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

MethodBase is the base class of MethodInfo and ConstructorInfo.

Notes to Inheritors:  When you inherit from MethodBase, you must override the following members: GetParameters, the abstract overload of Invoke, and GetMethodImplementationFlags.

Requirements

Namespace: System.Reflection

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

MethodBase Members | System.Reflection Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.