# SendAsync Method

## Overloads

| [SendAsync(Int32, String, IEnumerable<String>, Object\[\])](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.QlikConnection.SendAsync.htm#Qlik_Engine_Communication_QlikConnection_SendAsync_System_Int32_System_String_System_Collections_Generic_IEnumerable_System_String__System_Object___) |  | Sends a request asynchronously to a Qlik Sense instance |
| --- | --- | --- |
| [SendAsync(Request)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.QlikConnection.SendAsync.htm#Qlik_Engine_Communication_QlikConnection_SendAsync_Qlik_Engine_Communication_IO_Request_) |  | Sends a request asynchronously to a Qlik Sense instance |
| [SendAsync<T>(Request)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.QlikConnection.SendAsync.htm#Qlik_Engine_Communication_QlikConnection_SendAsync__1_Qlik_Engine_Communication_IO_Request_) |  |  |
| [SendAsync<T>(Request, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.QlikConnection.SendAsync.htm#Qlik_Engine_Communication_QlikConnection_SendAsync__1_Qlik_Engine_Communication_IO_Request_System_Func_Qlik_Engine_Communication_IO_Response___0__) |  | Sends a request asynchronously to a Qlik Sense instance |

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

## SendAsync(Int32, String, IEnumerable&lt;String&gt;, Object[])

Sends a request asynchronously to a Qlik Sense instance

### Declaration

```

          public Task<Response> SendAsync(int wsHandle, string wsMethod, IEnumerable<string> argumentNames = null, params object[] arguments)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | wsHandle | Handle to a specific Qlik Sense entity instance |
| System.String | wsMethod | Method name |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | argumentNames | Positional argument names for the method |
| System.Object[] | arguments | Arguments for method |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm)&gt; | A Task with default unhandled Response instance |

### Implements

[IQlikConnection.SendAsync(Int32, String, IEnumerable<String>, Object\[\])](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IQlikConnection.SendAsync.htm#Qlik_Engine_Communication_IQlikConnection_SendAsync_System_Int32_System_String_System_Collections_Generic_IEnumerable_System_String__System_Object___)

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

## SendAsync(Request)

Sends a request asynchronously to a Qlik Sense instance

### Declaration

```

          public Task SendAsync(Request request)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Request.htm) | request | The request object to send. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task | A task that completes when a response is received for the request. |

### Implements

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

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

## SendAsync&lt;T&gt;(Request)

### Declaration

```
[Obsolete("Use method Task SendAsync(Request) or Task<T> SendAsync<T>(Request, Func<Request, T>).")]
public Task<T> SendAsync<T>(Request request)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Request.htm) | request |  |

### Returns

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

### Type Parameters

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

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

## SendAsync&lt;T&gt;(Request, Func&lt;Response, T&gt;)

Sends a request asynchronously to a Qlik Sense instance

### Declaration

```
public Task<T> SendAsync<T>(Request request, Func<Response, T> continueWith)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Request.htm) | request | The request object to send. |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | continueWith | The continuation method to used when deserializing the response. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; | A task with the continuation method applies to the received response as result. |

### Type Parameters

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

### Implements

[IQlikConnection.SendAsync<T>(Request, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IQlikConnection.SendAsync.htm#Qlik_Engine_Communication_IQlikConnection_SendAsync__1_Qlik_Engine_Communication_IO_Request_System_Func_Qlik_Engine_Communication_IO_Response___0__)

### Exceptions

| Type | Condition |
| --- | --- |
| System.ArgumentNullException | Thrown if either `request` or `continueWith` is `null`. |