# CreateGenericObjectAsync Method

## Overloads

| [CreateGenericObjectAsync(GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CreateGenericObjectAsync.htm#Qlik_Engine_App_CreateGenericObjectAsync_Qlik_Engine_GenericObjectProperties_) |  | Creates a generic object at app level. For more information on generic objects, see `Generic object`.<br><br>It is possible to create a generic object that is linked to another object.<br><br>A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).<br><br>The linked object has the same properties as the linking object. |
| --- | --- | --- |
| [CreateGenericObjectAsync(AsyncHandle, GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CreateGenericObjectAsync.htm#Qlik_Engine_App_CreateGenericObjectAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_GenericObjectProperties_) |  | Creates a generic object at app level. For more information on generic objects, see `Generic object`.<br><br>It is possible to create a generic object that is linked to another object.<br><br>A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).<br><br>The linked object has the same properties as the linking object. |
| [CreateGenericObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.CreateGenericObjectAsync.htm#Qlik_Engine_App_CreateGenericObjectAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__Qlik_Engine_GenericObjectProperties_) |  | Creates a generic object at app level. For more information on generic objects, see `Generic object`.<br><br>It is possible to create a generic object that is linked to another object.<br><br>A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).<br><br>The linked object has the same properties as the linking object. |

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

## CreateGenericObjectAsync(GenericObjectProperties)

Creates a generic object at app level. For more information on generic objects, see `Generic object`.

It is possible to create a generic object that is linked to another object.

A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).

The linked object has the same properties as the linking object.

### Declaration

```

          [QixName("CreateObject")]
public Task<CreateGenericObjectResult> CreateGenericObjectAsync([QixName("qProp")] GenericObjectProperties prop)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [GenericObjectProperties](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectProperties.htm) | prop | Information about the object. |

### Returns

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

### Implements

[IApp.CreateGenericObjectAsync(GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericObjectAsync.htm#Qlik_Engine_IApp_CreateGenericObjectAsync_Qlik_Engine_GenericObjectProperties_)

### Remarks

The linking object cannot be a transient object.

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

## CreateGenericObjectAsync(AsyncHandle, GenericObjectProperties)

Creates a generic object at app level. For more information on generic objects, see `Generic object`.

It is possible to create a generic object that is linked to another object.

A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).

The linked object has the same properties as the linking object.

### Declaration

```

          [QixName("CreateObject")]
public Task<CreateGenericObjectResult> CreateGenericObjectAsync(AsyncHandle asyncHandle, [QixName("qProp")] GenericObjectProperties prop)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| [GenericObjectProperties](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectProperties.htm) | prop | Information about the object. |

### Returns

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

### Implements

[IApp.CreateGenericObjectAsync(AsyncHandle, GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericObjectAsync.htm#Qlik_Engine_IApp_CreateGenericObjectAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_GenericObjectProperties_)

### Remarks

The linking object cannot be a transient object.

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

## CreateGenericObjectAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, GenericObjectProperties)

Creates a generic object at app level. For more information on generic objects, see `Generic object`.

It is possible to create a generic object that is linked to another object.

A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in `qExtendsId` ).

The linked object has the same properties as the linking object.

### Declaration

```
[QixName("CreateObject")]
public Task<T> CreateGenericObjectAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qProp")] GenericObjectProperties prop)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| [GenericObjectProperties](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectProperties.htm) | prop | Information about the object. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |

### Implements

[IApp.CreateGenericObjectAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericObjectAsync.htm#Qlik_Engine_IApp_CreateGenericObjectAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__Qlik_Engine_GenericObjectProperties_)

### Remarks

The linking object cannot be a transient object.