.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    LockAsync Method

    LockAsync(LockContext)

    Acquires the lock for the specified lockContext context.

    Declaration
    Task LockAsync(LockContext lockContext)
    Parameters
    LockContext lockContext

    The LockContext.

    Returns
    Task
    Remarks

    When the lockContext already holds the lock and the current LockAsync(LockContext) call is reentrant, the call can throw Hazelcast.Exceptions.LockAcquireLimitReachedException if the lock acquisition limit is already reached.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.