Skip to main content Skip to complementary content

DestroySessionVariableByNameAsync Method

Overloads

DestroySessionVariableByNameAsync(String)

Removes a transient variable.

Declaration

      Task<bool> DestroySessionVariableByNameAsync([QixName("qName")] string name)
    

Parameters

Type Name Description
System.String name

Name of the variable.

Returns

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

Remarks

qSuccess is set to true if the operation is successful.

DestroySessionVariableByNameAsync(AsyncHandle, String)

Removes a transient variable.

Declaration

      Task<bool> DestroySessionVariableByNameAsync(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<System.Boolean>

Remarks

qSuccess is set to true if the operation is successful.

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

Removes a transient variable.

Declaration

      Task<T> DestroySessionVariableByNameAsync<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

Remarks

qSuccess is set to true if the operation is successful.

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!