CookieException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru kelas CookieException.
Overload
CookieException() |
Menginisialisasi instans baru kelas CookieException. |
CookieException(SerializationInfo, StreamingContext) |
Kedaluwarsa.
Menginisialisasi instans CookieException baru kelas dengan nilai tertentu dan |
CookieException()
- Sumber:
- CookieException.cs
- Sumber:
- CookieException.cs
- Sumber:
- CookieException.cs
Menginisialisasi instans baru kelas CookieException.
public:
CookieException();
public CookieException ();
Public Sub New ()
Keterangan
Konstruktor tanpa parameter untuk CookieException.
Lihat juga
Berlaku untuk
CookieException(SerializationInfo, StreamingContext)
- Sumber:
- CookieException.cs
- Sumber:
- CookieException.cs
- Sumber:
- CookieException.cs
Perhatian
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Menginisialisasi instans CookieException baru kelas dengan nilai tertentu dan serializationInfo
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)
Parameter
- serializationInfo
- SerializationInfo
yang SerializationInfo akan digunakan.
- streamingContext
- StreamingContext
yang StreamingContext akan digunakan.
- Atribut
Keterangan
Memungkinkan Anda menyiapkan serialisasi kustom.