Sdílet prostřednictvím


HttpWebResponse Konstruktory

Definice

Inicializuje novou instanci HttpWebResponse třídy.

Přetížení

HttpWebResponse()
Zastaralé.
Zastaralé.
Zastaralé.
Zastaralé.

Inicializuje novou instanci HttpWebResponse třídy.

HttpWebResponse(SerializationInfo, StreamingContext)
Zastaralé.
Zastaralé.
Zastaralé.

Inicializuje novou instanci HttpWebResponse třídy ze zadaných SerializationInfo a StreamingContext instancí.

HttpWebResponse()

Zdroj:
HttpWebResponse.cs
Zdroj:
HttpWebResponse.cs
Zdroj:
HttpWebResponse.cs

Upozornění

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

Upozornění

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

Upozornění

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

Upozornění

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

Inicializuje novou instanci HttpWebResponse třídy.

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

Platí pro

HttpWebResponse(SerializationInfo, StreamingContext)

Zdroj:
HttpWebResponse.cs
Zdroj:
HttpWebResponse.cs
Zdroj:
HttpWebResponse.cs

Upozornění

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

Upozornění

Serialization has been deprecated for HttpWebResponse.

Upozornění

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

Inicializuje novou instanci HttpWebResponse třídy ze zadaných SerializationInfo a StreamingContext instancí.

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)

Parametry

serializationInfo
SerializationInfo

A SerializationInfo , který obsahuje informace potřebné k serializaci nové HttpWebRequest.

streamingContext
StreamingContext

A StreamingContext , který obsahuje zdroj serializovaného datového proudu, který je přidružen k novému HttpWebRequest.

Atributy

Poznámky

Tento konstruktor implementuje ISerializable rozhraní pro HttpWebRequest třídu.

Viz také

Platí pro