IConcurrencyDetector IConcurrencyDetector Interface

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

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.

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

Details

Assembly

Microsoft.EntityFrameworkCore.dll