blob: 117b32ba92a8f68518c965c18d111a7ad8c5040e (
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
32
|
// 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)]
[TypeForwardedFrom("System.Core, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")]
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) { }
}
}
|