Freigeben über


HttpWebResponse Konstruktoren

Definition

Initialisiert eine neue Instanz der HttpWebResponse-Klasse.

Überlädt

HttpWebResponse()
Veraltet.
Veraltet.
Veraltet.
Veraltet.

Initialisiert eine neue Instanz der HttpWebResponse-Klasse.

HttpWebResponse(SerializationInfo, StreamingContext)
Veraltet.
Veraltet.
Veraltet.

Initialisiert eine neue Instanz der HttpWebResponse-Klasse aus der angegebenen SerializationInfo-Instanz und der StreamingContext-Instanz.

HttpWebResponse()

Quelle:
HttpWebResponse.cs
Quelle:
HttpWebResponse.cs
Quelle:
HttpWebResponse.cs

Achtung

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

Achtung

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

Achtung

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

Achtung

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

Initialisiert eine neue Instanz der HttpWebResponse-Klasse.

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 ()
Attribute

Gilt für:

HttpWebResponse(SerializationInfo, StreamingContext)

Quelle:
HttpWebResponse.cs
Quelle:
HttpWebResponse.cs
Quelle:
HttpWebResponse.cs

Achtung

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

Achtung

Serialization has been deprecated for HttpWebResponse.

Achtung

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

Initialisiert eine neue Instanz der HttpWebResponse-Klasse aus der angegebenen SerializationInfo-Instanz und der StreamingContext-Instanz.

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

Eine SerializationInfo mit den zum Serialisieren der neuen HttpWebRequest erforderlichen Informationen.

streamingContext
StreamingContext

Ein StreamingContext mit der Quelle des serialisierten Streams, der der neuen HttpWebRequest zugeordnet ist.

Attribute

Hinweise

Dieser Konstruktor implementiert die ISerializable Schnittstelle für die HttpWebRequest -Klasse.

Weitere Informationen

Gilt für: