Teanga

Runtime.LoadAsync(String) Method

Definition

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.

Applies to