HttpWebResponse Construtores

Definição

Inicializa uma nova instância da HttpWebResponse classe.

Sobrecargas

Name Description
HttpWebResponse()
Obsoleto.
Obsoleto.
Obsoleto.
Obsoleto.

Inicializa uma nova instância da HttpWebResponse classe.

HttpWebResponse(SerializationInfo, StreamingContext)
Obsoleto.
Obsoleto.
Obsoleto.

Inicializa uma nova instância da HttpWebResponse classe a partir das instâncias e SerializationInfo especificadasStreamingContext.

HttpWebResponse()

Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs

Atenção

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

Atenção

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

Atenção

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

Atenção

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

Inicializa uma nova instância da HttpWebResponse classe.

public:
 HttpWebResponse();
[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)]
[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

HttpWebResponse(SerializationInfo, StreamingContext)

Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs
Origem:
HttpWebResponse.cs

Atenção

Serialization has been deprecated for HttpWebResponse.

Atenção

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

Atenção

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

Inicializa uma nova instância da HttpWebResponse classe a partir das instâncias e SerializationInfo especificadasStreamingContext.

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.  https://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.  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 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.  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 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

A SerializationInfo que contém a informação necessária para serializar o novo HttpWebRequest.

streamingContext
StreamingContext

A StreamingContext que contém a fonte do fluxo serializado associado ao novo HttpWebRequest.

Atributos

Observações

Este construtor implementa a ISerializable interface para a HttpWebRequest classe.

Ver também

Aplica-se a