Skip to main content Skip to complementary content

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.

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!