次の方法で共有


GlobalProxySelection クラス

定義

注意事項

GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.

注意事項

This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202

注意事項

This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202

すべての HTTP 要求のグローバル既定のプロキシ インスタンスが含まれています。

public ref class GlobalProxySelection
[System.Obsolete("GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.")]
public class GlobalProxySelection
[System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202")]
public class GlobalProxySelection
[System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202")]
public class GlobalProxySelection
public class GlobalProxySelection
[<System.Obsolete("GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.")>]
type GlobalProxySelection = class
[<System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202")>]
type GlobalProxySelection = class
[<System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202")>]
type GlobalProxySelection = class
type GlobalProxySelection = class
Public Class GlobalProxySelection
継承
GlobalProxySelection
属性

注釈

GlobalProxySelectionは、インスタンスがローカル ネットワークを越えてインターネット サイトに接続するために使用WebRequest既定のプロキシのプロキシ設定を格納します。 既定のプロキシ設定はグローバルまたはアプリケーション構成ファイルから初期化され、個々の要求に対してオーバーライドすることも、 HttpWebRequest.Proxy プロパティを GetEmptyWebProxy メソッドの結果に設定することで無効にすることもできます。

GlobalProxySelectionに格納されているプロキシ設定は、プロキシをサポートし、そのProxyプロパティ値が null (既定値) に設定されているWebRequest派生オブジェクトによって使用されます。 プロキシは現在、 FtpWebRequestHttpWebRequest、および WebClientでサポートされています。

メモ 要求が行われた後の GlobalProxySelection への変更は、 WebRequestには反映されません。

コンストラクター

名前 説明
GlobalProxySelection()
古い.
古い.
古い.

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

プロパティ

名前 説明
Select
古い.
古い.
古い.

グローバル HTTP プロキシを取得または設定します。

メソッド

名前 説明
Equals(Object)
古い.
古い.
古い.

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetEmptyWebProxy()
古い.
古い.
古い.

空のプロキシ インスタンスを返します。

GetHashCode()
古い.
古い.
古い.

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()
古い.
古い.
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()
古い.
古い.
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()
古い.
古い.
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください