Skip to main content Skip to complementary content

GetVariableByIdAsync Method

Overloads

GetVariableByIdAsync(String)

Gets the handle of a variable.

GetVariableByIdAsync(AsyncHandle, String)

Gets the handle of a variable.

GetVariableByIdAsync<T>(AsyncHandle, Func<Response, T>, String)

Gets the handle of a variable.

GetVariableByIdAsync(String)

Gets the handle of a variable.

Declaration

      Task<GenericVariable> GetVariableByIdAsync([QixName("qId")] string id)
    

Parameters

Type Name Description
System.String id

Identifier of the variable.

Returns

Type Description
System.Threading.Tasks.Task<GenericVariable>

GetVariableByIdAsync(AsyncHandle, String)

Gets the handle of a variable.

Declaration

      Task<GenericVariable> GetVariableByIdAsync(AsyncHandle asyncHandle, [QixName("qId")] string id)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String id

Identifier of the variable.

Returns

Type Description
System.Threading.Tasks.Task<GenericVariable>

GetVariableByIdAsync<T>(AsyncHandle, Func<Response, T>, String)

Gets the handle of a variable.

Declaration

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

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

System.String id

Identifier of the variable.

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!