System.Net.CookieException Class

The exception that is thrown when an error is made adding a System.Net.Cookie to a System.Net.CookieContainer.

See Also: CookieException Members

Syntax

public class CookieException : FormatException

Remarks

This exception is thrown if an attempt is made to CookieContainer.Add(Cookie) a System.Net.Cookie with length greater than CookieContainer.MaxCookieSize to a System.Net.CookieContainer.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0