# GetMasterObjectListAsync Method

## Overloads

| [GetMasterObjectListAsync(IApp)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectListAsync.htm#Qlik_Sense_Client_AppExtensions_GetMasterObjectListAsync_Qlik_Engine_IApp_) |  | This method creates and returns a session object that must be disposed to avoid session object leakage. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectListAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetMasterObjectListAsync.htm)

## GetMasterObjectListAsync(IApp)

This method creates and returns a session object that must be disposed to avoid session object leakage.

### Declaration

```

          public static Task<IMasterObjectList> GetMasterObjectListAsync(this IApp theApp)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IApp](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.htm) | theApp |  |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[IMasterObjectList](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.IMasterObjectList.htm)&gt; |  |