HttpWebResponse Construtores
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe HttpWebResponse.
HttpWebResponse() |
Obsoleto.
Obsoleto.
Obsoleto.
Obsoleto.
Inicializa uma nova instância da classe HttpWebResponse. |
HttpWebResponse(SerializationInfo, StreamingContext) |
Obsoleto.
Obsoleto.
Obsoleto.
Inicializa uma nova instância da classe HttpWebResponse das instâncias SerializationInfo e StreamingContext especificadas. |
- Origem:
- HttpWebResponse.cs
- Origem:
- HttpWebResponse.cs
- Origem:
- HttpWebResponse.cs
Cuidado
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Cuidado
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Cuidado
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Cuidado
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Inicializa uma nova instância da classe 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 ()
- Atributos
Aplica-se a
.NET 9 e outras versões
Produto | Versões (Obsoleto) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1 (5, 6, 7, 8, 9) |
.NET Framework | (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET Standard | 2.1 |
- Origem:
- HttpWebResponse.cs
- Origem:
- HttpWebResponse.cs
- Origem:
- HttpWebResponse.cs
Cuidado
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Cuidado
Serialization has been deprecated for HttpWebResponse.
Cuidado
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Inicializa uma nova instância da classe HttpWebResponse das instâncias SerializationInfo e StreamingContext especificadas.
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)
Parâmetros
- serializationInfo
- SerializationInfo
Um SerializationInfo que contém as informações necessárias para serializar o novo HttpWebRequest.
- streamingContext
- StreamingContext
Um StreamingContext que contém a origem do fluxo serializado associado ao novo HttpWebRequest.
- Atributos
Comentários
Esse construtor implementa a ISerializable interface para a HttpWebRequest classe .
Confira também
Aplica-se a
.NET 9 e outras versões
Produto | Versões (Obsoleto) |
---|---|
.NET | (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9) |
.NET Framework | 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET Standard | (2.0, 2.1) |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: