HttpWebResponse Construtores

Definição

Inicializa uma nova instância da classe HttpWebResponse.Initializes a new instance of the HttpWebResponse class.

Sobrecargas

HttpWebResponse()
Obsoleto.
Obsoleto.
Obsoleto.
Obsoleto.

Inicializa uma nova instância da classe HttpWebResponse.Initializes a new instance of the HttpWebResponse class.

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

Inicializa uma nova instância da classe HttpWebResponse das instâncias SerializationInfo e StreamingContext especificadas.Initializes a new instance of the HttpWebResponse class from the specified SerializationInfo and StreamingContext instances.

HttpWebResponse()

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.Initializes a new instance of the HttpWebResponse class.

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 ();
Public Sub New ()
Atributos

Aplica-se a

HttpWebResponse(SerializationInfo, StreamingContext)

Cuidado

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

Cuidado

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

Cuidado

Serialization is obsoleted for this type

Inicializa uma nova instância da classe HttpWebResponse das instâncias SerializationInfo e StreamingContext especificadas.Initializes a new instance of the HttpWebResponse class from the specified SerializationInfo and StreamingContext instances.

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);
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", 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
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", 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)

Parâmetros

serializationInfo
SerializationInfo

Um SerializationInfo que contém as informações necessárias para serializar o novo HttpWebRequest.A SerializationInfo that contains the information required to serialize the new HttpWebRequest.

streamingContext
StreamingContext

Um StreamingContext que contém a origem do fluxo serializado associado ao novo HttpWebRequest.A StreamingContext that contains the source of the serialized stream that is associated with the new HttpWebRequest.

Atributos

Comentários

Esse construtor implementa a ISerializable interface para a HttpWebRequest classe.This constructor implements the ISerializable interface for the HttpWebRequest class.

Confira também

Aplica-se a