HttpWebResponse Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy HttpWebResponse.

Przeciążenia

HttpWebResponse()
Nieaktualne.
Nieaktualne.
Nieaktualne.
Nieaktualne.

Inicjuje nowe wystąpienie klasy HttpWebResponse.

HttpWebResponse(SerializationInfo, StreamingContext)
Nieaktualne.
Nieaktualne.
Nieaktualne.
Nieaktualne.

Inicjuje HttpWebResponse nowe wystąpienie klasy z określonych SerializationInfo wystąpień i StreamingContext .

HttpWebResponse()

Przestroga

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

Przestroga

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

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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 ();
Public Sub New ()
Atrybuty

Dotyczy

HttpWebResponse(SerializationInfo, StreamingContext)

Przestroga

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

Przestroga

Serialization has been deprecated for HttpWebResponse.

Przestroga

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

Przestroga

Serialization is obsoleted for this type

Inicjuje HttpWebResponse nowe wystąpienie klasy z określonych SerializationInfo wystąpień i 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")]
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", false)]
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
[<System.Obsolete("Serialization is obsoleted for this type", false)>]
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

Element SerializationInfo zawierający informacje wymagane do serializacji nowego HttpWebRequestelementu .

streamingContext
StreamingContext

Element StreamingContext zawierający źródło serializowanego strumienia skojarzonego z nowym HttpWebRequestelementem .

Atrybuty

Uwagi

Ten konstruktor implementuje ISerializable interfejs dla HttpWebRequest klasy.

Zobacz też

Dotyczy