StoreTempSelectionStateAsync Method
Overloads
| StoreTempSelectionStateAsync(Int32) |
Store current selection state temporarily. |
|
| StoreTempSelectionStateAsync(AsyncHandle, Int32) |
Store current selection state temporarily. |
|
| StoreTempSelectionStateAsync<T>(AsyncHandle, Func<Response, T>, Int32) |
Store current selection state temporarily. |
StoreTempSelectionStateAsync(Int32)
Store current selection state temporarily.
Declaration
Task<StoreTempSelectionStateResult> StoreTempSelectionStateAsync([QixName("qTTLOfTempState")] int tTLOfTempState = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | tTLOfTempState |
Time to live in seconds for stored selection state |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<StoreTempSelectionStateResult> |
Remarks
The temporary selection state will be stored for 30min by default if TTL parameter is not present or positive.
StoreTempSelectionStateAsync(AsyncHandle, Int32)
Store current selection state temporarily.
Declaration
Task<StoreTempSelectionStateResult> StoreTempSelectionStateAsync(AsyncHandle asyncHandle, [QixName("qTTLOfTempState")] int tTLOfTempState = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Int32 | tTLOfTempState |
Time to live in seconds for stored selection state |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<StoreTempSelectionStateResult> |
Remarks
The temporary selection state will be stored for 30min by default if TTL parameter is not present or positive.
StoreTempSelectionStateAsync<T>(AsyncHandle, Func<Response, T>, Int32)
Store current selection state temporarily.
Declaration
Task<T> StoreTempSelectionStateAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qTTLOfTempState")] int tTLOfTempState = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| System.Int32 | tTLOfTempState |
Time to live in seconds for stored selection state |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
The temporary selection state will be stored for 30min by default if TTL parameter is not present or positive.