IConcurrencyDetector.EnterCriticalSection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
输入关键部分。
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
返回
释放时将退出关键部分的释放器。