AssemblyLoadContext.ResolvingUnmanagedDll Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit quand la résolution d’une bibliothèque native échoue.
public:
event Func<System::Reflection::Assembly ^, System::String ^, IntPtr> ^ ResolvingUnmanagedDll;
public event Func<System.Reflection.Assembly,string,IntPtr>? ResolvingUnmanagedDll;
member this.ResolvingUnmanagedDll : Func<System.Reflection.Assembly, string, nativeint>
Public Custom Event ResolvingUnmanagedDll As Func(Of Assembly, String, IntPtr)
Type d'événement
Remarques
Cet événement est déclenché si la bibliothèque native ne peut pas être résolue par la logique de résolution par défaut (y compris LoadUnmanagedDll).