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

54 lines
2.6 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when a DLL specified in a DLL import cannot be found.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x0200065D RID: 1629
[ComVisible(true)]
[Serializable]
public class DllNotFoundException : TypeLoadException
{
/// <summary>Initializes a new instance of the <see cref="T:System.DllNotFoundException" /> class with default properties.</summary>
// Token: 0x06003E08 RID: 15880 RVA: 0x000D324C File Offset: 0x000D144C
public DllNotFoundException()
: base(Locale.GetText("DLL not found."))
{
base.HResult = -2146233052;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DllNotFoundException" /> class with a specified error message.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
// Token: 0x06003E09 RID: 15881 RVA: 0x000D326C File Offset: 0x000D146C
public DllNotFoundException(string message)
: base(message)
{
base.HResult = -2146233052;
}
/// <summary>Initializes a new instance of the <see cref="T:System.DllNotFoundException" /> class with serialized data.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown. </param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination. </param>
// Token: 0x06003E0A RID: 15882 RVA: 0x000D3280 File Offset: 0x000D1480
protected DllNotFoundException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DllNotFoundException" /> 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="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
// Token: 0x06003E0B RID: 15883 RVA: 0x000D328C File Offset: 0x000D148C
public DllNotFoundException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233052;
}
// Token: 0x040018CD RID: 6349
private const int Result = -2146233052;
}
}