IMethodMessage.MethodBase 屬性

定義

取得受呼叫方法的 MethodBaseGets the MethodBase of the called method.

public:
 property System::Reflection::MethodBase ^ MethodBase { System::Reflection::MethodBase ^ get(); };
public System.Reflection.MethodBase 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.

適用於