Skip to main content Skip to complementary content

LockAsync Method

Overloads

LockAsync()

Locks all selected values of a specific field.

LockAsync(AsyncHandle)

Locks all selected values of a specific field.

LockAsync<T>(AsyncHandle, Func<Response, T>)

Locks all selected values of a specific field.

LockAsync()

Locks all selected values of a specific field.

Declaration

      Task<bool> LockAsync()
    

Returns

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

Remarks

The operation is successful if Return is set to true.

LockAsync(AsyncHandle)

Locks all selected values of a specific field.

Declaration

      Task<bool> LockAsync(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 Return is set to true.

LockAsync<T>(AsyncHandle, Func<Response, T>)

Locks all selected values of a specific field.

Declaration

      Task<T> LockAsync<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 Return 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!