Runtime Services.Try Load Library Method
Attempts to load an assembly.
Definition
Namespace: Extreme.Providers.InteropServices
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if the assembly was loaded successfully; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static bool TryLoadLibrary(
string filename,
string libraryPath,
out Exception lastException
)
Parameters
- filename String
- The name of the assembly.
- libraryPath String
- The base path of the assembly. May be null.
- lastException Exception
- On return, the last exception thrown during the search.
Return Value
Booleantrue if the assembly was loaded successfully; otherwise false.