61 lines
3.1 KiB
C#
61 lines
3.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Threading
|
|
{
|
|
/// <summary>The exception that is thrown when one thread acquires a <see cref="T:System.Threading.Mutex" /> object that another thread has abandoned by exiting without releasing it.</summary>
|
|
// Token: 0x02000314 RID: 788
|
|
[Token(Token = "0x2000314")]
|
|
[ComVisible(false)]
|
|
[Serializable]
|
|
public class AbandonedMutexException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with default values.</summary>
|
|
// Token: 0x06001D06 RID: 7430 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001D06")]
|
|
[Address(RVA = "0x291BFD0", Offset = "0x291ADD0", VA = "0x18291BFD0")]
|
|
public AbandonedMutexException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with a specified index for the abandoned mutex, if applicable, and a <see cref="T:System.Threading.Mutex" /> object that represents the mutex.</summary>
|
|
/// <param name="location">The index of the abandoned mutex in the array of wait handles if the exception is thrown for the <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> method, or -1 if the exception is thrown for the <see cref="Overload:System.Threading.WaitHandle.WaitOne" /> or <see cref="Overload:System.Threading.WaitHandle.WaitAll" /> methods.</param>
|
|
/// <param name="handle">A <see cref="T:System.Threading.Mutex" /> object that represents the abandoned mutex.</param>
|
|
// Token: 0x06001D07 RID: 7431 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001D07")]
|
|
[Address(RVA = "0x291BEE0", Offset = "0x291ACE0", VA = "0x18291BEE0")]
|
|
public AbandonedMutexException(int location, WaitHandle handle)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001D08 RID: 7432 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001D08")]
|
|
[Address(RVA = "0x291BE70", Offset = "0x291AC70", VA = "0x18291BE70")]
|
|
private void SetupException(int location, WaitHandle handle)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with serialized data.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown.</param>
|
|
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination.</param>
|
|
// Token: 0x06001D09 RID: 7433 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001D09")]
|
|
[Address(RVA = "0x291BFA0", Offset = "0x291ADA0", VA = "0x18291BFA0")]
|
|
protected AbandonedMutexException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040010A4 RID: 4260
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40010A4")]
|
|
private int m_MutexIndex;
|
|
|
|
// Token: 0x040010A5 RID: 4261
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40010A5")]
|
|
private Mutex m_Mutex;
|
|
}
|
|
}
|