CookieException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av CookieException klassen.
Överlagringar
| Name | Description |
|---|---|
| CookieException() |
Initierar en ny instans av CookieException klassen. |
| CookieException(String) |
Initierar en ny instans av CookieException klassen med det angivna felmeddelandet. |
| CookieException(SerializationInfo, StreamingContext) |
Föråldrad.
Initierar en ny instans av CookieException klassen med specifika värden för |
| CookieException(String, Exception) |
Initierar en ny instans av CookieException klassen med det angivna felmeddelandet och en referens till det inre undantaget som är orsaken till det här undantaget. |
CookieException()
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
Initierar en ny instans av CookieException klassen.
public:
CookieException();
public CookieException();
Public Sub New ()
Kommentarer
Den parameterlösa konstruktorn för CookieException.
Se även
Gäller för
CookieException(String)
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
Initierar en ny instans av CookieException klassen med det angivna felmeddelandet.
public:
CookieException(System::String ^ message);
public CookieException(string? message);
new System.Net.CookieException : string -> System.Net.CookieException
Public Sub New (message As String)
Parametrar
Gäller för
CookieException(SerializationInfo, StreamingContext)
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
Varning
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initierar en ny instans av CookieException klassen med specifika värden för serializationInfo och 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);
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}")>]
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
Parametrar
- serializationInfo
- SerializationInfo
Som SerializationInfo ska användas.
- streamingContext
- StreamingContext
Som StreamingContext ska användas.
- Attribut
Kommentarer
Gör att du kan konfigurera anpassad serialisering.
Se även
Gäller för
CookieException(String, Exception)
- Källa:
- CookieException.cs
- Källa:
- CookieException.cs
Initierar en ny instans av CookieException klassen med det angivna felmeddelandet och en referens till det inre undantaget som är orsaken till det här undantaget.
public:
CookieException(System::String ^ message, Exception ^ innerException);
public CookieException(string? message, Exception? innerException);
new System.Net.CookieException : string * Exception -> System.Net.CookieException
Public Sub New (message As String, innerException As Exception)
Parametrar
- innerException
- Exception
Undantaget som är orsaken till det aktuella undantaget.