Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​CookieException
Assembly: System.Net.Primitives
Inheritance: object → Exception → SystemException → FormatException → CookieException
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" /> .
Properties
Data
public
string
HelpLink
public
int
HResult
public
Exception
InnerException
public
string
Message
public
string
Source
public
string
StackTrace
TargetSite
Methods
public
void
GetObjectData​(Runtime.Serialization.SerializationInfo serializationInfo,
Runtime.Serialization.StreamingContext streamingContext)
serializationInfo
The object that holds the serialized object data. The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.
streamingContext
The contextual information about the source or destination. A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.
Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.CookieException" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object