HttpWebResponse Costruttori

Definizione

Inizializza una nuova istanza della classe HttpWebResponse.

Overload

Nome Descrizione
HttpWebResponse()
Obsoleti.
Obsoleti.
Obsoleti.
Obsoleti.

Inizializza una nuova istanza della classe HttpWebResponse.

HttpWebResponse(SerializationInfo, StreamingContext)
Obsoleti.
Obsoleti.

Inizializza una nuova istanza della HttpWebResponse classe dalle istanze e SerializationInfo specificateStreamingContext.

HttpWebResponse()

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

Si applica a

HttpWebResponse(SerializationInfo, StreamingContext)

Attenzione

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

Attenzione

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

Inizializza una nuova istanza della HttpWebResponse classe dalle istanze e SerializationInfo specificateStreamingContext.

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.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected HttpWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
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.  https://go.microsoft.com/fwlink/?linkid=14202")>]
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 HttpWebRequestoggetto .

streamingContext
StreamingContext

Oggetto StreamingContext contenente l'origine del flusso serializzato associato al nuovo HttpWebRequestoggetto .

Attributi

Commenti

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

Vedi anche

Si applica a