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