HttpWebResponse Konstruktorok

Definíció

Inicializálja a HttpWebResponse osztály új példányát.

Túlterhelések

Name Description
HttpWebResponse()
Elavult.
Elavult.
Elavult.
Elavult.

Inicializálja a HttpWebResponse osztály új példányát.

HttpWebResponse(SerializationInfo, StreamingContext)
Elavult.
Elavult.

Inicializálja az HttpWebResponse osztály új példányát a megadott SerializationInfo és StreamingContext a példányokból.

HttpWebResponse()

Figyelemfelhívás

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

Figyelemfelhívás

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

Figyelemfelhívás

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

Figyelemfelhívás

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

Inicializálja a HttpWebResponse osztály új példányát.

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 HttpWebResponse();
Public Sub New ()
Attribútumok

A következőre érvényes:

HttpWebResponse(SerializationInfo, StreamingContext)

Figyelemfelhívás

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

Figyelemfelhívás

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

Inicializálja az HttpWebResponse osztály új példányát a megadott SerializationInfo és StreamingContext a példányokból.

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.  http://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.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected HttpWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
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
[<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
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Paraméterek

serializationInfo
SerializationInfo

Az SerializationInfo új HttpWebRequestszerializálásához szükséges információkat tartalmazó A.

streamingContext
StreamingContext

Az StreamingContext újhoz HttpWebRequesttársított szerializált stream forrását tartalmazó .

Attribútumok

Megjegyzések

Ez a konstruktor implementálja az ISerializable osztály felületét HttpWebRequest .

Lásd még

A következőre érvényes: