# RemoveAlternateStateAsync Method

## Overloads

| [RemoveAlternateStateAsync(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.RemoveAlternateStateAsync.htm#Qlik_Engine_IApp_RemoveAlternateStateAsync_System_String_) |  | Removes an alternate state in the app. |
| --- | --- | --- |
| [RemoveAlternateStateAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.RemoveAlternateStateAsync.htm#Qlik_Engine_IApp_RemoveAlternateStateAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Removes an alternate state in the app. |

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

## RemoveAlternateStateAsync(String)

Removes an alternate state in the app.

### Declaration

```

          Task RemoveAlternateStateAsync([QixName("qStateName")] string stateName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | stateName | Name of the alternate state. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

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

## RemoveAlternateStateAsync(AsyncHandle, String)

Removes an alternate state in the app.

### Declaration

```

          Task RemoveAlternateStateAsync(AsyncHandle asyncHandle, [QixName("qStateName")] string stateName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | stateName | Name of the alternate state. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |