Condividi tramite


IConcurrencyDetector.EnterCriticalSection Metodo

Definizione

Immette una sezione critica.

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

Restituisce

Un eliminatore che chiuderà la sezione critica quando eliminato.

Si applica a