次の方法で共有


HttpWebResponse コンストラクター

定義

HttpWebResponse クラスの新しいインスタンスを初期化します。

オーバーロード

HttpWebResponse()
古い.
古い.
古い.
古い.

HttpWebResponse クラスの新しいインスタンスを初期化します。

HttpWebResponse(SerializationInfo, StreamingContext)
古い.
古い.
古い.

指定した HttpWebResponse インスタンスと SerializationInfo インスタンスから、StreamingContext クラスの新しいインスタンスを初期化します。

HttpWebResponse()

ソース:
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)]
[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)

ソース:
HttpWebResponse.cs
ソース:
HttpWebResponse.cs
ソース:
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

指定した HttpWebResponse インスタンスと SerializationInfo インスタンスから、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")]
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

新しい HttpWebRequest をシリアル化するために必要な情報を格納している SerializationInfo

streamingContext
StreamingContext

新しい HttpWebRequest に関連付けられるシリアル化ストリームの転送元を格納する StreamingContext

属性

注釈

このコンストラクターは、 クラスの ISerializable インターフェイスを HttpWebRequest 実装します。

こちらもご覧ください

適用対象