# GetGenericMeasureAsync Method

## Overloads

| [GetGenericMeasureAsync(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetGenericMeasureAsync.htm#Qlik_Engine_IApp_GetGenericMeasureAsync_System_String_) |  | Returns the handle of a measure. |
| --- | --- | --- |
| [GetGenericMeasureAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetGenericMeasureAsync.htm#Qlik_Engine_IApp_GetGenericMeasureAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Returns the handle of a measure. |
| [GetGenericMeasureAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetGenericMeasureAsync.htm#Qlik_Engine_IApp_GetGenericMeasureAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Returns the handle of a measure. |

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

## GetGenericMeasureAsync(String)

Returns the handle of a measure.

### Declaration

```

          [QixName("GetMeasure")]
Task<GenericMeasure> GetGenericMeasureAsync([QixName("qId")] string id)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | id | Identifier of the measure. |

### Returns

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

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

## GetGenericMeasureAsync(AsyncHandle, String)

Returns the handle of a measure.

### Declaration

```

          [QixName("GetMeasure")]
Task<GenericMeasure> GetGenericMeasureAsync(AsyncHandle asyncHandle, [QixName("qId")] string id)
    
  
```

### Parameters

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

### Returns

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

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

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

Returns the handle of a measure.

### Declaration

```
[QixName("GetMeasure")]
Task<T> GetGenericMeasureAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qId")] string id)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/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/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | id | Identifier of the measure. |

### Returns

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

### Type Parameters

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