GetVariableAsync Method
Overloads
| GetVariableAsync(String) | Returns a handle to a variable. | |
| GetVariableAsync(AsyncHandle, String) | Returns a handle to a variable. | |
| GetVariableAsync<T>(AsyncHandle, Func<Response, T>, String) | Returns a handle to a variable. | 
GetVariableAsync(String)
Returns a handle to a variable.
Declaration
      [Obsolete("Use _Doc::GetVariableById_ method or _Doc::GetVariableByName_ method instead")]
Task<Variable> GetVariableAsync([QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Variable> | 
GetVariableAsync(AsyncHandle, String)
Returns a handle to a variable.
Declaration
      [Obsolete("Use _Doc::GetVariableById_ method or _Doc::GetVariableByName_ method instead")]
Task<Variable> GetVariableAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Variable> | 
GetVariableAsync<T>(AsyncHandle, Func<Response, T>, String)
Returns a handle to a variable.
Declaration
      [Obsolete("Use _Doc::GetVariableById_ method or _Doc::GetVariableByName_ method instead")]
Task<T> GetVariableAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.Func<Response, T> | onResult | Continuation function | 
| System.String | name | Name of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | 
Type Parameters
| Name | Description | 
|---|---|
| T |