Method LoadAsync
LoadAsync()
Load the metadata for the object asynchronously.
Declaration
public Task LoadAsync()
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous load operation.  | 
    
Implements
Remarks
Will load the metadata if the object is not loaded. Will always call Loaded if this is called.
Exceptions
| Type | Condition | 
|---|---|
| ExpiredException | Package was authored to prevent expired access.  | 
    
| UnpackRequiredException | Package contains data that requires unpack before loading.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.5 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.5 - 200.8 | 
| Xamarin.Android | 100.5 - 100.15 | 
| Xamarin.iOS | 100.5 - 100.15 | 
| UWP | 100.5 - 200.8 | 
Relevant samples
Open mobile scene package: Opens and displays a scene from a Mobile Scene Package (.mspk).