共用方式為


Assembly.ModuleResolve 事件

定義

發生於 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 

事件類型

實作

屬性

備註

此事件可讓回呼有機會尋找並載入模組本身,並傳回它。

適用於