Assembly.ModuleResolve 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生於 Common Language Runtime 類別載入器無法經由一般方法解析對組件內部模組的參考時。
public:
virtual event System::Reflection::ModuleResolveEventHandler ^ ModuleResolve;
public virtual event System.Reflection.ModuleResolveEventHandler? ModuleResolve;
public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve;
public event System.Reflection.ModuleResolveEventHandler ModuleResolve;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve;
member this.ModuleResolve : System.Reflection.ModuleResolveEventHandler
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ModuleResolve : System.Reflection.ModuleResolveEventHandler
Public Overridable Custom Event ModuleResolve As ModuleResolveEventHandler
Public Custom Event ModuleResolve As ModuleResolveEventHandler
事件類型
實作
- 屬性
備註
此事件可讓回呼有機會尋找並載入模組本身,並傳回它。