Method LoadAsync
LoadAsync()
Load the object asynchronously.
Declaration
public Task LoadAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous load operation. |
Implements
Remarks
Loads the object if it is not loaded. If loading is in progress, returns the existing load task. If the object is already loaded, this method completes immediately. If the object has failed to load, the returned task will be in a failed state with LoadError as the exception. Use RetryLoadAsync() to retry a failed or canceled load.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.8 - 200.8 |
| .NET | 100.13 - 300.1 |
| .NET Windows | 100.13 - 300.1 |
| .NET Android | 200.0 - 300.1 |
| .NET iOS | 200.0 - 300.1 |
| .NET Framework | 100.8 - 200.8 |
| Xamarin.Android | 100.8 - 100.15 |
| Xamarin.iOS | 100.8 - 100.15 |
| UWP | 100.8 - 200.8 |