Comparteix a través de


CookieException Constructores

Definición

Inicializa una nueva instancia de la clase CookieException.

Sobrecargas

CookieException()

Inicializa una nueva instancia de la clase CookieException.

CookieException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la clase CookieException con valores específicos de serializationInfo y streamingContext.

CookieException()

Source:
CookieException.cs
Source:
CookieException.cs
Source:
CookieException.cs

Inicializa una nueva instancia de la clase CookieException.

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

Comentarios

Constructor sin parámetros para CookieException.

Consulte también

Se aplica a

CookieException(SerializationInfo, StreamingContext)

Source:
CookieException.cs
Source:
CookieException.cs
Source:
CookieException.cs

Precaución

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicializa una nueva instancia de la clase CookieException con valores específicos de serializationInfo y 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);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parámetros

serializationInfo
SerializationInfo

SerializationInfo que se va a utilizar.

streamingContext
StreamingContext

StreamingContext que se va a utilizar.

Atributos

Comentarios

Permite configurar la serialización personalizada.

Consulte también

Se aplica a