DestroySessionVariableAsync Method
Overloads
| DestroySessionVariableAsync(String) | Removes a transient variable. | |
| DestroySessionVariableAsync(AsyncHandle, String) | Removes a transient variable. | |
| DestroySessionVariableAsync<T>(AsyncHandle, Func<Response, T>, String) | Removes a transient variable. | 
DestroySessionVariableAsync(String)
Removes a transient variable.
Declaration
      Task<bool> DestroySessionVariableAsync([QixName("qId")] string id)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | id | Identifier of the variable. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | 
Remarks
The operation is successful if qSuccess is set to true.
DestroySessionVariableAsync(AsyncHandle, String)
Removes a transient variable.
Declaration
      Task<bool> DestroySessionVariableAsync(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<System.Boolean> | 
Remarks
The operation is successful if qSuccess is set to true.
DestroySessionVariableAsync<T>(AsyncHandle, Func<Response, T>, String)
Removes a transient variable.
Declaration
      Task<T> DestroySessionVariableAsync<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 | 
Remarks
The operation is successful if qSuccess is set to true.