IMethodMessage.MethodBase 属性

定义

获取被调用方法的 MethodBaseGets the MethodBase of the called method.

public:
 property System::Reflection::MethodBase ^ MethodBase { System::Reflection::MethodBase ^ get(); };
[get: System.Security.SecurityCritical]
public System.Reflection.MethodBase MethodBase { get; }
member this.MethodBase : System.Reflection.MethodBase
Public ReadOnly Property MethodBase As MethodBase

属性值

被调用方法的 MethodBaseThe MethodBase of the called method.

属性

异常

直接调用方通过引用接口进行调用,且没有基础结构权限。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. 要求值: LinkDemand;权限值:InfrastructureDemand value: LinkDemand; Permission value: Infrastructure

适用于