HttpWebResponse Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de la clase HttpWebResponse.
Sobrecargas
HttpWebResponse() |
Obsoletos.
Obsoletos.
Obsoletos.
Obsoletos.
Inicializa una nueva instancia de la clase HttpWebResponse. |
HttpWebResponse(SerializationInfo, StreamingContext) |
Obsoletos.
Obsoletos.
Obsoletos.
Inicializa una nueva instancia de la clase HttpWebResponse desde las instancias StreamingContext y SerializationInfo. |
HttpWebResponse()
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
Precaución
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Precaución
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Precaución
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Precaución
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Inicializa una nueva instancia de la clase 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
Se aplica a
HttpWebResponse(SerializationInfo, StreamingContext)
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
Precaución
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Precaución
Serialization has been deprecated for HttpWebResponse.
Precaución
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Inicializa una nueva instancia de la clase HttpWebResponse desde las instancias StreamingContext y SerializationInfo.
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
SerializationInfo que contiene la información necesaria para serializar la nueva excepción HttpWebRequest.
- streamingContext
- StreamingContext
StreamingContext que contiene el origen de la secuencia serializada asociada a la nueva excepción HttpWebRequest.
- Atributos
Comentarios
Este constructor implementa la ISerializable interfaz de la HttpWebRequest clase .