HttpWebResponse Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de HttpWebResponse klasse.
Overloads
| Name | Description |
|---|---|
| HttpWebResponse() |
Verouderd.
Verouderd.
Verouderd.
Verouderd.
Initialiseert een nieuw exemplaar van de HttpWebResponse klasse. |
| HttpWebResponse(SerializationInfo, StreamingContext) |
Verouderd.
Verouderd.
Initialiseert een nieuw exemplaar van de HttpWebResponse klasse van de opgegeven SerializationInfo en StreamingContext exemplaren. |
HttpWebResponse()
Let op
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Let op
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Let op
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Let op
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initialiseert een nieuw exemplaar van de HttpWebResponse klasse.
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 ()
- Kenmerken
Van toepassing op
HttpWebResponse(SerializationInfo, StreamingContext)
Let op
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Let op
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Initialiseert een nieuw exemplaar van de HttpWebResponse klasse van de opgegeven SerializationInfo en StreamingContext exemplaren.
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)
Parameters
- serializationInfo
- SerializationInfo
Een SerializationInfo die de informatie bevat die nodig is om de nieuwe HttpWebRequestte serialiseren.
- streamingContext
- StreamingContext
Een StreamingContext die de bron bevat van de geserialiseerde stroom die is gekoppeld aan de nieuwe HttpWebRequest.
- Kenmerken
Opmerkingen
Met deze constructor wordt de ISerializable interface voor de HttpWebRequest klasse geïmplementeerd.