Udostępnij za pośrednictwem


HttpWebResponse Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy HttpWebResponse.

Przeciążenia

HttpWebResponse()
Przestarzałe.
Przestarzałe.
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy HttpWebResponse.

HttpWebResponse(SerializationInfo, StreamingContext)
Przestarzałe.
Przestarzałe.
Przestarzałe.

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

HttpWebResponse()

Źródło:
HttpWebResponse.cs
Źródło:
HttpWebResponse.cs
Źródło:
HttpWebResponse.cs

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 ();
[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)

Źródło:
HttpWebResponse.cs
Źródło:
HttpWebResponse.cs
Źródło:
HttpWebResponse.cs

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

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.  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

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

streamingContext
StreamingContext

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

Atrybuty

Uwagi

Ten konstruktor implementuje ISerializable interfejs dla HttpWebRequest klasy .

Zobacz też

Dotyczy