HttpWebResponse Costruttori

Definizione

Inizializza una nuova istanza della classe HttpWebResponse.

Overload

HttpWebResponse()
Obsoleti.
Obsoleti.
Obsoleti.
Obsoleti.

Inizializza una nuova istanza della classe HttpWebResponse.

HttpWebResponse(SerializationInfo, StreamingContext)
Obsoleti.
Obsoleti.
Obsoleti.

Inizializza una nuova istanza della classe HttpWebResponse dalle istanze di SerializationInfo e StreamingContext specificate.

HttpWebResponse()

Origine:
HttpWebResponse.cs
Origine:
HttpWebResponse.cs
Origine:
HttpWebResponse.cs

Attenzione

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

Attenzione

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

Attenzione

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

Attenzione

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

Inizializza una nuova istanza della 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 ()
Attributi

Si applica a

HttpWebResponse(SerializationInfo, StreamingContext)

Origine:
HttpWebResponse.cs
Origine:
HttpWebResponse.cs
Origine:
HttpWebResponse.cs

Attenzione

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

Attenzione

Serialization has been deprecated for HttpWebResponse.

Attenzione

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

Inizializza una nuova istanza della classe HttpWebResponse dalle istanze di SerializationInfo e StreamingContext specificate.

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)

Parametri

serializationInfo
SerializationInfo

Oggetto SerializationInfo contenente le informazioni necessarie per serializzare il nuovo oggetto HttpWebRequest.

streamingContext
StreamingContext

Oggetto StreamingContext contenente l'origine del flusso serializzato associato alla nuova istanza di HttpWebRequest.

Attributi

Commenti

Questo costruttore implementa l'interfaccia ISerializable per la HttpWebRequest classe .

Vedi anche

Si applica a