ClassLoader.LoadClassAsync 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.
Overloads
| Name | Description |
|---|---|
| LoadClassAsync(String) |
Asynchronously loads the class with the specified name. |
| LoadClassAsync(String, Boolean) |
Asynchronously loads the class with the specified name. |
LoadClassAsync(String)
Asynchronously loads the class with the specified name.
public System.Threading.Tasks.Task<Java.Lang.Class?> LoadClassAsync(string? name);
member this.LoadClassAsync : string -> System.Threading.Tasks.Task<Java.Lang.Class>
Parameters
- name
- String
The binary name of the Java class to load.
Returns
A task that completes with the loaded class.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
LoadClassAsync(String, Boolean)
Asynchronously loads the class with the specified name.
protected System.Threading.Tasks.Task<Java.Lang.Class?> LoadClassAsync(string? name, bool resolve);
member this.LoadClassAsync : string * bool -> System.Threading.Tasks.Task<Java.Lang.Class>
Parameters
- name
- String
The binary name of the Java class to load.
- resolve
- Boolean
Whether the loaded class should be resolved.
Returns
A task that completes with the loaded class.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.