AsyncLock AsyncLock Class

Definition

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 sealed class AsyncLock
Public NotInheritable Class AsyncLock
Inheritance
System.ObjectSystem.Object
AsyncLockAsyncLock

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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
System.Threading.Tasks.Task<AsyncLock.Releaser> System.Threading.Tasks.Task(Of AsyncLock.Releaser)

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object