124 lines
5.8 KiB
C#
124 lines
5.8 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies an exception that is handled as a warning instead of an error.</summary>
|
|
// Token: 0x020001A8 RID: 424
|
|
[Token(Token = "0x20001A8")]
|
|
[Serializable]
|
|
public class WarningException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class.</summary>
|
|
// Token: 0x06000BA4 RID: 2980 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA4")]
|
|
[Address(RVA = "0x2F4BE20", Offset = "0x2F4AE20", VA = "0x182F4BE20")]
|
|
public WarningException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class with the specified message and no Help file.</summary>
|
|
/// <param name="message">The message to display to the end user.</param>
|
|
// Token: 0x06000BA5 RID: 2981 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA5")]
|
|
[Address(RVA = "0x2F4BD70", Offset = "0x2F4AD70", VA = "0x182F4BD70")]
|
|
public WarningException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class with the specified message, and with access to the specified Help file.</summary>
|
|
/// <param name="message">The message to display to the end user.</param>
|
|
/// <param name="helpUrl">The Help file to display if the user requests help.</param>
|
|
// Token: 0x06000BA6 RID: 2982 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA6")]
|
|
[Address(RVA = "0x2F4BDE0", Offset = "0x2F4ADE0", VA = "0x182F4BDE0")]
|
|
public WarningException(string message, string helpUrl)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class with the specified detailed description and the specified exception.</summary>
|
|
/// <param name="message">A detailed description of the error.</param>
|
|
/// <param name="innerException">A reference to the inner exception that is the cause of this exception.</param>
|
|
// Token: 0x06000BA7 RID: 2983 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA7")]
|
|
[Address(RVA = "0x767A00", Offset = "0x766A00", VA = "0x180767A00")]
|
|
public WarningException(string message, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class with the specified message, and with access to the specified Help file and topic.</summary>
|
|
/// <param name="message">The message to display to the end user.</param>
|
|
/// <param name="helpUrl">The Help file to display if the user requests help.</param>
|
|
/// <param name="helpTopic">The Help topic to display if the user requests help.</param>
|
|
// Token: 0x06000BA8 RID: 2984 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA8")]
|
|
[Address(RVA = "0x2F4BDA0", Offset = "0x2F4ADA0", VA = "0x182F4BDA0")]
|
|
public WarningException(string message, string helpUrl, string helpTopic)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.WarningException" /> class using the specified serialization data and context.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to be used for deserialization.</param>
|
|
/// <param name="context">The destination to be used for deserialization.</param>
|
|
// Token: 0x06000BA9 RID: 2985 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BA9")]
|
|
[Address(RVA = "0x2F4BC40", Offset = "0x2F4AC40", VA = "0x182F4BC40")]
|
|
protected WarningException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the Help file associated with the warning.</summary>
|
|
/// <returns>The Help file associated with the warning.</returns>
|
|
// Token: 0x17000222 RID: 546
|
|
// (get) Token: 0x06000BAA RID: 2986 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000222")]
|
|
public string HelpUrl
|
|
{
|
|
[Token(Token = "0x6000BAA")]
|
|
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Help topic associated with the warning.</summary>
|
|
/// <returns>The Help topic associated with the warning.</returns>
|
|
// Token: 0x17000223 RID: 547
|
|
// (get) Token: 0x06000BAB RID: 2987 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000223")]
|
|
public string HelpTopic
|
|
{
|
|
[Token(Token = "0x6000BAB")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the parameter name and additional exception information.</summary>
|
|
/// <param name="info">Stores the data that was being used to serialize or deserialize the object that the <see cref="T:System.ComponentModel.Design.Serialization.CodeDomSerializer" /> was serializing or deserializing.</param>
|
|
/// <param name="context">Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000BAC RID: 2988 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BAC")]
|
|
[Address(RVA = "0x2F4BB70", Offset = "0x2F4AB70", VA = "0x182F4BB70", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400061C RID: 1564
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400061C")]
|
|
private readonly string helpUrl;
|
|
|
|
// Token: 0x0400061D RID: 1565
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400061D")]
|
|
private readonly string helpTopic;
|
|
}
|
|
}
|