HttpWebResponse 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 HttpWebResponse 类的新实例。
重载
HttpWebResponse() |
已过时.
已过时.
已过时.
已过时.
初始化 HttpWebResponse 类的新实例。 |
HttpWebResponse(SerializationInfo, StreamingContext) |
已过时.
已过时.
已过时.
根据指定的 SerializationInfo 和 StreamingContext 实例初始化 HttpWebResponse 类的新实例。 |
HttpWebResponse()
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- 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)]
[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 ()
- 属性
适用于
HttpWebResponse(SerializationInfo, StreamingContext)
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
- Source:
- HttpWebResponse.cs
注意
Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202
注意
Serialization has been deprecated for HttpWebResponse.
注意
Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202
根据指定的 SerializationInfo 和 StreamingContext 实例初始化 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 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)
参数
- serializationInfo
- SerializationInfo
SerializationInfo,包含序列化新的 HttpWebRequest 所需的信息。
- streamingContext
- StreamingContext
StreamingContext,它包含与新的 HttpWebRequest 关联的序列化流的源。
- 属性
注解
此构造函数实现 ISerializable 类的 HttpWebRequest 接口。