Bewerken

Share via


AssemblyLoadContext.ResolvingUnmanagedDll Event

Definition

Occurs when the resolution of a native library fails.

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) 

Event Type

Remarks

This event is raised if the native library cannot be resolved by the default resolution logic (including LoadUnmanagedDll).

Applies to