CookieException Constructors

Definition

Initializes a new instance of the CookieException class.

Overloads

CookieException()

Initializes a new instance of the CookieException class.

CookieException(SerializationInfo, StreamingContext)

Initializes a new instance of the CookieException class with specific values of serializationInfo and streamingContext.

CookieException()

Initializes a new instance of the CookieException class.

public:
 CookieException();
public CookieException ();
Public Sub New ()

Remarks

The parameterless constructor for CookieException.

See also

Applies to

CookieException(SerializationInfo, StreamingContext)

Initializes a new instance of the CookieException class with specific values of serializationInfo and streamingContext.

protected:
 CookieException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected CookieException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

The SerializationInfo to be used.

streamingContext
StreamingContext

The StreamingContext to be used.

Remarks

Allows you to set up custom serialization.

See also

Applies to