Partilhar via


CookieException Construtores

Definição

Inicializa uma nova instância da classe CookieException.

Sobrecargas

CookieException()

Inicializa uma nova instância da classe CookieException.

CookieException(SerializationInfo, StreamingContext)
Obsoleto.

Inicializa uma nova instância da classe CookieException com valores específicos de serializationInfo e streamingContext.

CookieException()

Origem:
CookieException.cs
Origem:
CookieException.cs
Origem:
CookieException.cs

Inicializa uma nova instância da classe CookieException.

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

Comentários

O construtor sem parâmetros para CookieException.

Confira também

Aplica-se a

CookieException(SerializationInfo, StreamingContext)

Origem:
CookieException.cs
Origem:
CookieException.cs
Origem:
CookieException.cs

Cuidado

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

Inicializa uma nova instância da classe CookieException com valores específicos de serializationInfo e 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

O SerializationInfo a ser usado.

streamingContext
StreamingContext

O StreamingContext a ser usado.

Atributos

Comentários

Permite configurar a serialização personalizada.

Confira também

Aplica-se a