HttpWebResponse 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 HttpWebResponse.
Overload
HttpWebResponse() |
Kedaluwarsa.
Kedaluwarsa.
Kedaluwarsa.
Kedaluwarsa.
Menginisialisasi instans baru kelas HttpWebResponse. |
HttpWebResponse(SerializationInfo, StreamingContext) |
Kedaluwarsa.
Kedaluwarsa.
Kedaluwarsa.
Menginisialisasi instans HttpWebResponse baru kelas dari instans dan StreamingContext yang ditentukanSerializationInfo. |
HttpWebResponse()
- Sumber:
- HttpWebResponse.cs
- Sumber:
- HttpWebResponse.cs
- Sumber:
- HttpWebResponse.cs
Perhatian
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Perhatian
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Perhatian
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Perhatian
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Menginisialisasi instans baru kelas HttpWebResponse.
public:
HttpWebResponse();
[System.Obsolete("This API supports the .NET infrastructure and is not intended to be used directly from your code.", true)]
[System.Obsolete("This API supports the .NET infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse ();
[System.Obsolete("This API supports the .NET infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse ();
public HttpWebResponse ();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse ();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse ();
Public Sub New ()
- Atribut
Berlaku untuk
HttpWebResponse(SerializationInfo, StreamingContext)
- Sumber:
- HttpWebResponse.cs
- Sumber:
- HttpWebResponse.cs
- Sumber:
- HttpWebResponse.cs
Perhatian
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Perhatian
Serialization has been deprecated for HttpWebResponse.
Perhatian
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Menginisialisasi instans HttpWebResponse baru kelas dari instans dan StreamingContext yang ditentukanSerializationInfo.
protected:
HttpWebResponse(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")]
protected HttpWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization has been deprecated for HttpWebResponse.")]
protected HttpWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")]
protected HttpWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected HttpWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Obsolete("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Net.HttpWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.HttpWebResponse
[<System.Obsolete("Serialization has been deprecated for HttpWebResponse.")>]
new System.Net.HttpWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.HttpWebResponse
[<System.Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Net.HttpWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.HttpWebResponse
new System.Net.HttpWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.HttpWebResponse
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
Parameter
- serializationInfo
- SerializationInfo
yang SerializationInfo berisi informasi yang diperlukan untuk menserialisasikan yang baru HttpWebRequest.
- streamingContext
- StreamingContext
StreamingContext yang berisi sumber aliran serial yang terkait dengan yang baruHttpWebRequest.
- Atribut
Keterangan
Konstruktor ini mengimplementasikan ISerializable antarmuka untuk HttpWebRequest kelas .