RelationalConnection.Semaphore 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
EF Core no longer uses this semaphore. It will be removed in an upcoming release.
获取用于序列化对此连接的访问的信号量。
public virtual System.Threading.SemaphoreSlim Semaphore { get; }
[System.Obsolete("EF Core no longer uses this semaphore. It will be removed in an upcoming release.")]
public virtual System.Threading.SemaphoreSlim Semaphore { get; }
member this.Semaphore : System.Threading.SemaphoreSlim
[<System.Obsolete("EF Core no longer uses this semaphore. It will be removed in an upcoming release.")>]
member this.Semaphore : System.Threading.SemaphoreSlim
Public Overridable ReadOnly Property Semaphore As SemaphoreSlim
属性值
用于序列化对此连接的访问的信号量。
实现
- 属性