CreateVariableAsync Method
Overloads
| CreateVariableAsync(String) | Creates a variable. | |
| CreateVariableAsync(AsyncHandle, String) | Creates a variable. | |
| CreateVariableAsync<T>(AsyncHandle, Func<Response, T>, String) | Creates a variable. | 
CreateVariableAsync(String)
Creates a variable.
Declaration
      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
public Task<bool> CreateVariableAsync([QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | Name of the variable. Variable names are case sensitive. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | 
Implements
Remarks
The operation is successful if qReturn is set to true.
CreateVariableAsync(AsyncHandle, String)
Creates a variable.
Declaration
      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
public Task<bool> CreateVariableAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.String | name | Name of the variable. Variable names are case sensitive. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | 
Implements
Remarks
The operation is successful if qReturn is set to true.
CreateVariableAsync<T>(AsyncHandle, Func<Response, T>, String)
Creates a variable.
Declaration
      [Obsolete("Use _Doc::CreateVariableEx_ method instead")]
public Task<T> CreateVariableAsync<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. Variable names are case sensitive. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | 
Type Parameters
| Name | Description | 
|---|---|
| T | 
Implements
Remarks
The operation is successful if qReturn is set to true.