UndoAsync Method
Overloads
| UndoAsync() |
Undoes the previous operation. |
|
| UndoAsync(AsyncHandle) |
Undoes the previous operation. |
|
| UndoAsync<T>(AsyncHandle, Func<Response, T>) |
Undoes the previous operation. |
UndoAsync()
Undoes the previous operation.
Declaration
Task<bool> UndoAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qSuccess is set to true.
UndoAsync(AsyncHandle)
Undoes the previous operation.
Declaration
Task<bool> UndoAsync(AsyncHandle asyncHandle)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> |
Remarks
The operation is successful if qSuccess is set to true.
UndoAsync<T>(AsyncHandle, Func<Response, T>)
Undoes the previous operation.
Declaration
Task<T> UndoAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
The operation is successful if qSuccess is set to true.