Populates a System.Runtime.Serialization.SerializationInfo instance with the data needed to serialize the System.Net.CookieException.
- serializationInfo
- The object that holds the serialized object data. The System.Runtime.Serialization.SerializationInfo to populate with data.
- streamingContext
- The contextual information about the source or destination. A System.Runtime.Serialization.StreamingContext that specifies the destination for this serialization.
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization. Any objects included in the System.Runtime.Serialization.SerializationInfo are automatically tracked and serialized by the formatter.