Runtime.LoadAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously loads the native library file specified by filename.
public System.Threading.Tasks.Task LoadAsync(string? filename);
member this.LoadAsync : string -> System.Threading.Tasks.Task
Parameters
- filename
- String
The absolute path of the native library file to load.
Returns
A task that completes when Load(String) finishes.
Remarks
This method calls Load(String) on a thread-pool thread by using Task.Run.