AssemblyLoadContext.ResolvingUnmanagedDll Event

Definition

Occurs when the resolution of a native library fails.

C#
public event Func<System.Reflection.Assembly,string,IntPtr>? ResolvingUnmanagedDll;

Event Type

Remarks

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

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9