using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Resources { /// The exception that is thrown when the satellite assembly for the resources of the neutral culture is missing. // Token: 0x02000275 RID: 629 [ComVisible(true)] [Serializable] public class MissingSatelliteAssemblyException : SystemException { /// Initializes a new instance of the class with default properties. // Token: 0x0600202E RID: 8238 RVA: 0x00074D94 File Offset: 0x00072F94 public MissingSatelliteAssemblyException() : base(Locale.GetText("The satellite assembly was not found for the required culture.")) { } /// Initializes a new instance of the class with the specified error message. /// The error message that explains the reason for the exception. // Token: 0x0600202F RID: 8239 RVA: 0x00074DA8 File Offset: 0x00072FA8 public MissingSatelliteAssemblyException(string message) : base(message) { } /// Initializes a new instance of the class with a specified error message and the name of a neutral culture. /// The error message that explains the reason for the exception. /// The name of the neutral culture. // Token: 0x06002030 RID: 8240 RVA: 0x00074DB4 File Offset: 0x00072FB4 public MissingSatelliteAssemblyException(string message, string cultureName) : base(message) { this.culture = cultureName; } /// Initializes a new instance of the class from serialized data. /// The object that holds the serialized object data. /// The contextual information about the source or destination of the exception. // Token: 0x06002031 RID: 8241 RVA: 0x00074DC4 File Offset: 0x00072FC4 protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base(info, context) { } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06002032 RID: 8242 RVA: 0x00074DD0 File Offset: 0x00072FD0 public MissingSatelliteAssemblyException(string message, Exception inner) : base(message, inner) { } /// Gets the name of a neutral culture. /// A object with the name of the neutral culture. // 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; } }