# SendGenericCommandToCustomConnectorAsync Method

## Overloads

| [SendGenericCommandToCustomConnectorAsync(String, String, String, IEnumerable<String>, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SendGenericCommandToCustomConnectorAsync.htm#Qlik_Engine_IApp_SendGenericCommandToCustomConnectorAsync_System_String_System_String_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_) |  | Sends a generic command to a custom connector.<br><br>For more information on the commands that can be sent to a custom connector, see the QVX SDK help. |
| --- | --- | --- |
| [SendGenericCommandToCustomConnectorAsync(AsyncHandle, String, String, String, IEnumerable<String>, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SendGenericCommandToCustomConnectorAsync.htm#Qlik_Engine_IApp_SendGenericCommandToCustomConnectorAsync_Qlik_Engine_AsyncHandle_System_String_System_String_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_) |  | Sends a generic command to a custom connector.<br><br>For more information on the commands that can be sent to a custom connector, see the QVX SDK help. |
| [SendGenericCommandToCustomConnectorAsync<T>(AsyncHandle, Func<Response, T>, String, String, String, IEnumerable<String>, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SendGenericCommandToCustomConnectorAsync.htm#Qlik_Engine_IApp_SendGenericCommandToCustomConnectorAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_) |  | Sends a generic command to a custom connector.<br><br>For more information on the commands that can be sent to a custom connector, see the QVX SDK help. |

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

## SendGenericCommandToCustomConnectorAsync(String, String, String, IEnumerable&lt;String&gt;, String)

Sends a generic command to a custom connector.

For more information on the commands that can be sent to a custom connector, see the QVX SDK help.

### Declaration

```

          Task<string> SendGenericCommandToCustomConnectorAsync([QixName("qProvider")] string provider, [QixName("qCommand")] string command, [QixName("qMethod")] string method, [QixName("qParameters")] IEnumerable<string> parameters, [QixName("qAppendConnection")] string appendConnection)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | provider | Connector file name.<br>Command to be executed by the connector. |
| System.String | command | One of:<br><br><ul> <li>JsonRequest </li> <li>GetCustomCaption</li> <li>IsConnected</li> <li>DisableQlikViewSelectButton</li> <li>HaveStarField</li> </ul> |
| System.String | method | Method name to be used within the command.<br>The available methods depend on the chosen connector. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | parameters | Parameters of the command.<br>No parameters are required. |
| System.String | appendConnection | Name of the connection. |

### Returns

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

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

## SendGenericCommandToCustomConnectorAsync(AsyncHandle, String, String, String, IEnumerable&lt;String&gt;, String)

Sends a generic command to a custom connector.

For more information on the commands that can be sent to a custom connector, see the QVX SDK help.

### Declaration

```

          Task<string> SendGenericCommandToCustomConnectorAsync(AsyncHandle asyncHandle, [QixName("qProvider")] string provider, [QixName("qCommand")] string command, [QixName("qMethod")] string method, [QixName("qParameters")] IEnumerable<string> parameters, [QixName("qAppendConnection")] string appendConnection)
    
  
```

### 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 | provider | Connector file name.<br>Command to be executed by the connector. |
| System.String | command | One of:<br><br><ul> <li>JsonRequest </li> <li>GetCustomCaption</li> <li>IsConnected</li> <li>DisableQlikViewSelectButton</li> <li>HaveStarField</li> </ul> |
| System.String | method | Method name to be used within the command.<br>The available methods depend on the chosen connector. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | parameters | Parameters of the command.<br>No parameters are required. |
| System.String | appendConnection | Name of the connection. |

### Returns

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

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

## SendGenericCommandToCustomConnectorAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String, String, String, IEnumerable&lt;String&gt;, String)

Sends a generic command to a custom connector.

For more information on the commands that can be sent to a custom connector, see the QVX SDK help.

### Declaration

```
Task<T> SendGenericCommandToCustomConnectorAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qProvider")] string provider, [QixName("qCommand")] string command, [QixName("qMethod")] string method, [QixName("qParameters")] IEnumerable<string> parameters, [QixName("qAppendConnection")] string appendConnection)
```

### 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.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | provider | Connector file name.<br>Command to be executed by the connector. |
| System.String | command | One of:<br><br><ul> <li>JsonRequest </li> <li>GetCustomCaption</li> <li>IsConnected</li> <li>DisableQlikViewSelectButton</li> <li>HaveStarField</li> </ul> |
| System.String | method | Method name to be used within the command.<br>The available methods depend on the chosen connector. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | parameters | Parameters of the command.<br>No parameters are required. |
| System.String | appendConnection | Name of the connection. |

### Returns

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

### Type Parameters

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