AsyncLock AsyncLock Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public sealed class AsyncLockPublic NotInheritable Class AsyncLock

Inheritance Hierarchy

  • System.Object
    System.Object
  • AsyncLock
    AsyncLock

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • AsyncLock()
    AsyncLock()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public AsyncLock()Public Sub New

Methods

  • Lock()
    Lock()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public AsyncLock.Releaser Lock()Public Function Lock As AsyncLock.Releaser

    Returns

  • LockAsync(CancellationToken)
    LockAsync(CancellationToken)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public Task<AsyncLock.Releaser> LockAsync(CancellationToken cancellationToken = null)Public Function LockAsync(cancellationToken As CancellationToken = Nothing) As Task(Of AsyncLock.Releaser)

    Parameters

    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll