# OnDestroyChildAsync Method

## Overloads

| [OnDestroyChildAsync(Response, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.OnDestroyChildAsync.htm#Qlik_Engine_GenericObject_OnDestroyChildAsync_Qlik_Engine_Communication_IO_Response_System_String_) |  | Async callback for destroy |
| --- | --- | --- |

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

## OnDestroyChildAsync(Response, String)

Async callback for destroy

### Declaration

```

          protected bool OnDestroyChildAsync(Response response, string id)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Response](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm) | response | The response |
| System.String | id | Identifier of the child that was destroyed. |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean | True if the child was destroyed successfully |