72 lines
3.4 KiB
C#
72 lines
3.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Resources
|
|
{
|
|
/// <summary>The exception that is thrown when the satellite assembly for the resources of the neutral culture is missing.</summary>
|
|
// Token: 0x02000275 RID: 629
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class MissingSatelliteAssemblyException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException" /> class with default properties.</summary>
|
|
// Token: 0x0600202E RID: 8238 RVA: 0x00074D94 File Offset: 0x00072F94
|
|
public MissingSatelliteAssemblyException()
|
|
: base(Locale.GetText("The satellite assembly was not found for the required culture."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException" /> class with the specified error message. </summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x0600202F RID: 8239 RVA: 0x00074DA8 File Offset: 0x00072FA8
|
|
public MissingSatelliteAssemblyException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException" /> class with a specified error message and the name of a neutral culture. </summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="cultureName">The name of the neutral culture.</param>
|
|
// Token: 0x06002030 RID: 8240 RVA: 0x00074DB4 File Offset: 0x00072FB4
|
|
public MissingSatelliteAssemblyException(string message, string cultureName)
|
|
: base(message)
|
|
{
|
|
this.culture = cultureName;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException" /> class from 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 of the exception.</param>
|
|
// Token: 0x06002031 RID: 8241 RVA: 0x00074DC4 File Offset: 0x00072FC4
|
|
protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException" /> 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: 0x06002032 RID: 8242 RVA: 0x00074DD0 File Offset: 0x00072FD0
|
|
public MissingSatelliteAssemblyException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of a neutral culture. </summary>
|
|
/// <returns>A <see cref="T:System.String" /> object with the name of the neutral culture.</returns>
|
|
// Token: 0x17000604 RID: 1540
|
|
// (get) Token: 0x06002033 RID: 8243 RVA: 0x00074DDC File Offset: 0x00072FDC
|
|
public string CultureName
|
|
{
|
|
get
|
|
{
|
|
return this.culture;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000B45 RID: 2885
|
|
private string culture;
|
|
}
|
|
}
|