RelationalConnection.Semaphore Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
EF Core no longer uses this semaphore. It will be removed in an upcoming release.
Gets a semaphore used to serialize access to this connection.
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
Property Value
The semaphore used to serialize access to this connection.
Implements
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework