IConcurrencyDetector IConcurrencyDetector Interface

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 interface IConcurrencyDetector
Public Interface IConcurrencyDetector

Methods

EnterCriticalSection() EnterCriticalSection()

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.

IDisposable EnterCriticalSection()
Function EnterCriticalSection As IDisposable
Returns
System.IDisposable System.IDisposable

EnterCriticalSectionAsync(CancellationToken) EnterCriticalSectionAsync(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.

Task<IDisposable> EnterCriticalSectionAsync(CancellationToken cancellationToken)
Function EnterCriticalSectionAsync(cancellationToken As CancellationToken) As Task(Of IDisposable)
Parameters
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.IDisposable> System.Threading.Tasks.Task(Of System.IDisposable)