DotNetAdapterIsClassValidExOptions
- Updated2026-02-03
- 1 minute(s) read
DotNetAdapterIsClassValidExOptions
Use these constants with the options parameter of the DotNetAdapter.IsClassValidEx method. If you pass no option (Value: 0x0), the adapter allows unloading of the assembly on which the method acts.
- DotNetAdapterIsClassValidExOption_AllowLoadingMixedAssemblies –(Value: 0x1) The DotNetAdapter.IsClassValidEx method will allow loading and checking the validity of classes from C++/CLI (mixed-mode) assemblies, but these assemblies can't be unloaded. .NET Core doesn't allow loading C++/CLI assemblies into AssemblyLoadContexts which can be unloaded (collectible).