Share via


IRelationalConnection.Semaphore Property

Definition

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 System.Threading.SemaphoreSlim Semaphore { get; }
[System.Obsolete("EF Core no longer uses this semaphore. It will be removed in an upcoming release.")]
public 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 ReadOnly Property Semaphore As SemaphoreSlim

Property Value

The semaphore.

Attributes

Applies to