SynchronizationLockException
E697527
SynchronizationLockException is a .NET exception type thrown when a thread attempts to release a synchronization object that it does not own.
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
SystemException subclass ⓘ exception class ⓘ |
| baseClass | SystemException NERFINISHED ⓘ |
| canBeCaughtWith | catch (SynchronizationLockException) ⓘ |
| category | runtime exception ⓘ |
| definedInAssembly |
System.Runtime
NERFINISHED
ⓘ
mscorlib NERFINISHED ⓘ |
| definedInNamespace | System.Threading NERFINISHED ⓘ |
| documentationUrl | https://learn.microsoft.com/dotnet/api/system.threading.synchronizationlockexception ⓘ |
| errorCategory | synchronization error ⓘ |
| hasConstructor |
SynchronizationLockException()
NERFINISHED
ⓘ
SynchronizationLockException(SerializationInfo info, StreamingContext context) ⓘ SynchronizationLockException(string message) ⓘ SynchronizationLockException(string message, Exception innerException) ⓘ |
| inheritsFrom |
Exception
ⓘ
Object ⓘ SystemException NERFINISHED ⓘ |
| introducedInFramework | .NET Framework 1.1 NERFINISHED ⓘ |
| isAbstract | false ⓘ |
| isCheckedException | false ⓘ |
| isCLSCompliant | true ⓘ |
| isSealed | false ⓘ |
| isSerializable | true ⓘ |
| language |
C#
NERFINISHED
ⓘ
F# NERFINISHED ⓘ VB.NET NERFINISHED ⓘ |
| platform | Common Language Runtime NERFINISHED ⓘ |
| property |
HResult
ⓘ
HelpLink ⓘ InnerException ⓘ Message ⓘ Source ⓘ StackTrace ⓘ |
| targetFramework |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| threadingRelated | true ⓘ |
| thrownWhen |
Monitor.Exit is called on an object not locked by the current thread
ⓘ
Monitor.Pulse is called on an object not locked by the current thread NERFINISHED ⓘ Monitor.PulseAll is called on an object not locked by the current thread NERFINISHED ⓘ Monitor.Wait is called on an object not locked by the current thread ⓘ a thread attempts to release a synchronization object that it does not own ⓘ |
| usedWith |
Monitor class
ⓘ
lock statement in C# (underlying Monitor methods) ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.