Files
Dec2017-Script-Dump/mscorlib/System/DuplicateWaitObjectException.cs
T
2026-06-04 11:42:34 +02:00

64 lines
3.2 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when an object appears more than once in an array of synchronization objects.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x0200065F RID: 1631
[ComVisible(true)]
[Serializable]
public class DuplicateWaitObjectException : ArgumentException
{
/// <summary>Initializes a new instance of the <see cref="T:System.DuplicateWaitObjectException" /> class.</summary>
// Token: 0x06003E0C RID: 15884 RVA: 0x000D32A4 File Offset: 0x000D14A4
public DuplicateWaitObjectException()
: base(Locale.GetText("Duplicate objects in argument."))
{
base.HResult = -2146233047;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DuplicateWaitObjectException" /> class with the name of the parameter that causes this exception.</summary>
/// <param name="parameterName">The name of the parameter that caused the exception. </param>
// Token: 0x06003E0D RID: 15885 RVA: 0x000D32C4 File Offset: 0x000D14C4
public DuplicateWaitObjectException(string parameterName)
: base(Locale.GetText("Duplicate objects in argument."), parameterName)
{
base.HResult = -2146233047;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DuplicateWaitObjectException" /> class with a specified error message and the name of the parameter that causes this exception.</summary>
/// <param name="parameterName">The name of the parameter that caused the exception. </param>
/// <param name="message">The message that describes the error. </param>
// Token: 0x06003E0E RID: 15886 RVA: 0x000D32E4 File Offset: 0x000D14E4
public DuplicateWaitObjectException(string parameterName, string message)
: base(message, parameterName)
{
base.HResult = -2146233047;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DuplicateWaitObjectException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception.</param>
// Token: 0x06003E0F RID: 15887 RVA: 0x000D32FC File Offset: 0x000D14FC
public DuplicateWaitObjectException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233047;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DuplicateWaitObjectException" /> class with serialized data.</summary>
/// <param name="info">The object that holds the serialized object data. </param>
/// <param name="context">The contextual information about the source or destination. </param>
// Token: 0x06003E10 RID: 15888 RVA: 0x000D3314 File Offset: 0x000D1514
protected DuplicateWaitObjectException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x040018D1 RID: 6353
private const int Result = -2146233047;
}
}