54 lines
2.5 KiB
C#
54 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when an attempt is made to access an unloaded application domain. </summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x02000633 RID: 1587
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class AppDomainUnloadedException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.AppDomainUnloadedException" /> class.</summary>
|
|
// Token: 0x06003AF6 RID: 15094 RVA: 0x000C94D4 File Offset: 0x000C76D4
|
|
public AppDomainUnloadedException()
|
|
: base(Locale.GetText("Can't access an unloaded application domain."))
|
|
{
|
|
base.HResult = -2146234348;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.AppDomainUnloadedException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The message that describes the error. </param>
|
|
// Token: 0x06003AF7 RID: 15095 RVA: 0x000C94F4 File Offset: 0x000C76F4
|
|
public AppDomainUnloadedException(string message)
|
|
: base(message)
|
|
{
|
|
base.HResult = -2146234348;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.AppDomainUnloadedException" /> 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 message that describes the error. </param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x06003AF8 RID: 15096 RVA: 0x000C9508 File Offset: 0x000C7708
|
|
public AppDomainUnloadedException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
base.HResult = -2146234348;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.AppDomainUnloadedException" /> 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: 0x06003AF9 RID: 15097 RVA: 0x000C9520 File Offset: 0x000C7720
|
|
protected AppDomainUnloadedException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001798 RID: 6040
|
|
private const int Result = -2146234348;
|
|
}
|
|
}
|