HttpWebResponse Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса HttpWebResponse.
Перегрузки
| Имя | Описание |
|---|---|
| HttpWebResponse() |
Устаревшие.
Устаревшие.
Устаревшие.
Устаревшие.
Инициализирует новый экземпляр класса HttpWebResponse. |
| HttpWebResponse(SerializationInfo, StreamingContext) |
Устаревшие.
Устаревшие.
Устаревшие.
Инициализирует новый экземпляр HttpWebResponse класса из указанных SerializationInfo и StreamingContext экземпляров. |
HttpWebResponse()
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
Внимание!
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Внимание!
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Внимание!
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Внимание!
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Инициализирует новый экземпляр класса HttpWebResponse.
public:
HttpWebResponse();
[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)]
[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 ()
- Атрибуты
Применяется к
HttpWebResponse(SerializationInfo, StreamingContext)
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
- Исходный код:
- HttpWebResponse.cs
Внимание!
Serialization has been deprecated for HttpWebResponse.
Внимание!
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
Внимание!
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
Инициализирует новый экземпляр HttpWebResponse класса из указанных SerializationInfo и StreamingContext экземпляров.
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. https://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. 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 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. 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 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)
Параметры
- serializationInfo
- SerializationInfo
Значение SerializationInfo , содержащее сведения, необходимые для сериализации нового HttpWebRequest.
- streamingContext
- StreamingContext
Объект, StreamingContext содержащий источник сериализованного потока, связанного с новым HttpWebRequest.
- Атрибуты
Комментарии
Этот конструктор реализует ISerializable интерфейс для HttpWebRequest класса.