Files
2026-06-04 11:42:34 +02:00

57 lines
3.0 KiB
C#

using System;
using System.Runtime.Serialization;
namespace System.Net
{
/// <summary>The exception that is thrown when an error is made adding a <see cref="T:System.Net.Cookie" /> to a <see cref="T:System.Net.CookieContainer" />.</summary>
// Token: 0x02000209 RID: 521
[Serializable]
public class CookieException : FormatException, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.CookieException" /> class.</summary>
// Token: 0x060011C5 RID: 4549 RVA: 0x00034E50 File Offset: 0x00033050
public CookieException()
{
}
// Token: 0x060011C6 RID: 4550 RVA: 0x00034E58 File Offset: 0x00033058
internal CookieException(string msg)
: base(msg)
{
}
// Token: 0x060011C7 RID: 4551 RVA: 0x00034E64 File Offset: 0x00033064
internal CookieException(string msg, Exception e)
: base(msg, e)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.CookieException" /> class with specific values of <paramref name="serializationInfo" /> and <paramref name="streamingContext" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to be used. </param>
/// <param name="streamingContext">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> to be used. </param>
// Token: 0x060011C8 RID: 4552 RVA: 0x00034E70 File Offset: 0x00033070
protected CookieException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.CookieException" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to be used. </param>
/// <param name="streamingContext">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> to be used. </param>
// Token: 0x060011C9 RID: 4553 RVA: 0x00034E7C File Offset: 0x0003307C
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
base.GetObjectData(info, context);
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.CookieException" />.</summary>
/// <param name="serializationInfo">The object that holds the serialized object data. The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="streamingContext">The contextual information about the source or destination. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
// Token: 0x060011CA RID: 4554 RVA: 0x00034E88 File Offset: 0x00033088
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
base.GetObjectData(serializationInfo, streamingContext);
}
}
}