blob: ab95e70c7e9b6e92118dbd0c9ae19cb88320e8b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
//
//
//
// Purpose:
// This exception represents a failed attempt to recursively
// acquire a lock, because the particular lock kind doesn't
// support it in its current state.
============================================================*/
namespace System.Threading
{
using System;
using System.Runtime.Serialization;
using System.Runtime.CompilerServices;
[Serializable]
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
public class LockRecursionException : System.Exception
{
public LockRecursionException() { }
public LockRecursionException(string message) : base(message) { }
protected LockRecursionException(SerializationInfo info, StreamingContext context) : base(info, context) { }
public LockRecursionException(string message, Exception innerException) : base(message, innerException) { }
}
}
|