İngilizce dilinde oku

Aracılığıyla paylaş


HttpWebResponse Oluşturucular

Tanım

HttpWebResponse sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

HttpWebResponse()
Geçersiz.
Geçersiz.
Geçersiz.
Geçersiz.

HttpWebResponse sınıfının yeni bir örneğini başlatır.

HttpWebResponse(SerializationInfo, StreamingContext)
Geçersiz.
Geçersiz.
Geçersiz.

Belirtilen SerializationInfo ve StreamingContext örneklerinden sınıfının yeni bir örneğini HttpWebResponse başlatır.

HttpWebResponse()

Kaynak:
HttpWebResponse.cs
Kaynak:
HttpWebResponse.cs
Kaynak:
HttpWebResponse.cs

Dikkat

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Dikkat

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Dikkat

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Dikkat

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

HttpWebResponse sınıfının yeni bir örneğini başlatır.

C#
[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();
C#
[System.Obsolete("This API supports the .NET infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse();
C#
public HttpWebResponse();
C#
[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();
C#
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public HttpWebResponse();
Öznitelikler

Şunlara uygulanır

.NET 9 ve diğer sürümler
Ürün Sürümler (Kullanım dışı)
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1 (5, 6, 7, 8, 9)
.NET Framework (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard 2.1

HttpWebResponse(SerializationInfo, StreamingContext)

Kaynak:
HttpWebResponse.cs
Kaynak:
HttpWebResponse.cs
Kaynak:
HttpWebResponse.cs

Dikkat

Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202

Dikkat

Serialization has been deprecated for HttpWebResponse.

Dikkat

Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202

Belirtilen SerializationInfo ve StreamingContext örneklerinden sınıfının yeni bir örneğini HttpWebResponse başlatır.

C#
[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);
C#
[System.Obsolete("Serialization has been deprecated for HttpWebResponse.")]
protected HttpWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
C#
[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);
C#
protected HttpWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

Parametreler

serializationInfo
SerializationInfo

SerializationInfo Yeni HttpWebRequestseri hale getirmek için gereken bilgileri içeren bir .

streamingContext
StreamingContext

StreamingContext Yeni HttpWebRequestile ilişkili serileştirilmiş akışın kaynağını içeren bir .

Öznitelikler

Açıklamalar

Bu oluşturucu sınıfı için arabirimini HttpWebRequest uygularISerializable.

Ayrıca bkz.

Şunlara uygulanır

.NET 9 ve diğer sürümler
Ürün Sürümler (Kullanım dışı)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard (2.0, 2.1)