IMethodMessage.MethodBase Property

 

Gets the MethodBase of the called method.

Namespace:   System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

MethodBase MethodBase {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Reflection.MethodBase

The MethodBase of the called method.

Exception Condition
SecurityException

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

This information is not transmitted to a remote location, but is used to cache the method base after it has been looked up once.

SecurityPermission

for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: