HttpWebResponse Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
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 HttpWebResponse ve SerializationInfo örneklerinden sınıfının yeni bir örneğini StreamingContext başlatır.

HttpWebResponse()

Kaynak:
HttpWebResponse.cs
Kaynak:
HttpWebResponse.cs
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.

public:
 HttpWebResponse();
[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)]
[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 ()
Öznitelikler

Şunlara uygulanır

HttpWebResponse(SerializationInfo, StreamingContext)

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

Dikkat

Serialization has been deprecated for HttpWebResponse.

Dikkat

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

Dikkat

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

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

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.  https://go.microsoft.com/fwlink/?linkid=14202")]
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 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.  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 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)

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 .

Öznitelikler

Açıklamalar

Bu oluşturucu sınıfı için arabirimini ISerializable uygularHttpWebRequest.

Ayrıca bkz.

Şunlara uygulanır