# GetQixObject Method

## Overloads

| [GetQixObject<T>(String, Func<AsyncHandle, Func<Response, T>, String, Task<T>>, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IQlikConnection.GetQixObject.htm#Qlik_Engine_Communication_IQlikConnection_GetQixObject__1_System_String_System_Func_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_Threading_Tasks_Task___0___System_Func_Qlik_Engine_Communication_IO_Response___0__) |  | Get QIX object either from cache, or from the engine. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IQlikConnection.GetQixObject.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IQlikConnection.GetQixObject.htm)

## GetQixObject&lt;T&gt;(String, Func&lt;AsyncHandle, Func&lt;Response, T&gt;, String, Task&lt;T&gt;&gt;, Func&lt;Response, T&gt;)

Get QIX object either from cache, or from the engine.

### Declaration

```

          Task<T> GetQixObject<T>(string id, Func<AsyncHandle, Func<Response, T>, string, Task<T>> taskFactory, Func<Response, T> onResponse)
    where T : QixClassBase
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | The ID of the qix object |
| System.Func&lt;[AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm), System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt;, System.String, System.Threading.Tasks.Task&lt;T&gt;&gt; | taskFactory | The engine method used to retrieve the object. |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResponse | The callback method used to parse the engine response. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; | A task with the qix object as result. |

### Type Parameters

| Name | Description |
| --- | --- |
| T | Type of qix object the method is expected to return. |