This documentation is archived and is not being maintained.

Delegate.GetMethodImpl Method

Gets the static method represented by the current delegate.

[Visual Basic]
Protected Overridable Function GetMethodImpl() As MethodInfo
protected virtual MethodInfo GetMethodImpl();
protected: virtual MethodInfo* GetMethodImpl();
protected function GetMethodImpl() : MethodInfo;

Return Value

A MethodInfo describing the static method represented by the current delegate.


Exception Type Condition
MemberAccessException The caller does not have access to the method represented by the delegate (for example, if the method is private).


This method applies only if the current delegate represents a static method.


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

.NET Framework Security: 

See Also

Delegate Class | Delegate Members | System Namespace | MethodInfo | Method