Skip to content

System.Threading.Lock

Lock.Scope Struct

The holder of an entered lock, which releases it when disposed.

C#
public ref struct Lock.Scope

Methods

Lock.Scope.Dispose() Method

Leaves the lock.

C#
public void Dispose();