Compartilhar via


IConcurrencyDetector.EnterCriticalSection Método

Definição

Insere uma seção crítica.

public IDisposable EnterCriticalSection ();
public Microsoft.EntityFrameworkCore.Infrastructure.ConcurrencyDetectorCriticalSectionDisposer EnterCriticalSection ();
abstract member EnterCriticalSection : unit -> IDisposable
abstract member EnterCriticalSection : unit -> Microsoft.EntityFrameworkCore.Infrastructure.ConcurrencyDetectorCriticalSectionDisposer
Public Function EnterCriticalSection () As IDisposable
Public Function EnterCriticalSection () As ConcurrencyDetectorCriticalSectionDisposer

Retornos

Um descartador que sairá da seção crítica quando descartado.

Aplica-se a