41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
// ==++==
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// ==--==
|
|
/*============================================================
|
|
//
|
|
// Class: LockRecursionException
|
|
//
|
|
//
|
|
// 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.
|
|
//
|
|
// <OWNER>[....]</OWNER>
|
|
// <OWNER>[....]</OWNER>
|
|
//
|
|
============================================================*/
|
|
|
|
namespace System.Threading
|
|
{
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
[Serializable]
|
|
[System.Security.Permissions.HostProtection(MayLeakOnAbort = true)]
|
|
#if !MOBILE
|
|
[TypeForwardedFrom("System.Core, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")]
|
|
#endif
|
|
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) { }
|
|
}
|
|
|
|
}
|