HttpWebResponse Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe HttpWebResponse.
Surcharges
HttpWebResponse() |
Obsolète.
Obsolète.
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe HttpWebResponse. |
HttpWebResponse(SerializationInfo, StreamingContext) |
Obsolète.
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe HttpWebResponse à partir des instances SerializationInfo et StreamingContext spécifiées. |
HttpWebResponse()
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
Attention
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Attention
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Attention
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Attention
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initialise une nouvelle instance de la 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 ()
- Attributs
S’applique à
HttpWebResponse(SerializationInfo, StreamingContext)
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
Attention
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Attention
Serialization has been deprecated for HttpWebResponse.
Attention
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Initialise une nouvelle instance de la classe HttpWebResponse à partir des instances SerializationInfo et StreamingContext spécifiées.
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)
Paramètres
- serializationInfo
- SerializationInfo
SerializationInfo qui contient les informations requises pour sérialiser le nouveau HttpWebRequest.
- streamingContext
- StreamingContext
StreamingContext qui contient la source du flux sérialisé associé au nouveau HttpWebRequest.
- Attributs
Remarques
Ce constructeur implémente l’interface ISerializable pour la HttpWebRequest classe .