HttpWebClientProtocol.Proxy プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpWebClientProtocol.Proxy プロパティの意味・解説 

HttpWebClientProtocol.Proxy プロパティ

ファイアウォールとおして XML Web サービス要求を行うためのプロキシ情報取得または設定します

名前空間: System.Web.Services.Protocols
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Dim instance As HttpWebClientProtocol
Dim value As IWebProxy

value = instance.Proxy

instance.Proxy = value
public IWebProxy Proxy { get; set;
 }
public:
property IWebProxy^ Proxy {
    IWebProxy^ get ();
    void set (IWebProxy^ value);
}
/** @property */
public IWebProxy get_Proxy ()

/** @property */
public void set_Proxy (IWebProxy value)

プロパティ
ファイアウォールとおして要求を行うためのプロキシ情報格納している IWebProxy。既定値は、オペレーティング システムプロキシ設定値です。

解説解説
使用例使用例

Math XML Web サービス呼び出す前にプロキシ設定を行う例を次に示します。この例の設定では、プロキシ サーバーhttp://proxyserver、プロキシ ポート80ローカル アドレスについてはプロキシ サーバーバイパスます。

Dim math As New MyMath.Math()

' Set the proxy server to proxyserver, set the port to 80, and specify
' to bypass the proxy server for local addresses.
Dim proxyObject As New WebProxy("http://proxyserver:80",
 True)
math.Proxy = proxyObject

' Call the Add XML Web service method.
Dim total As Integer = math.Add(8,
 5)
MyMath.Math math = new MyMath.Math();

// Set the proxy server to proxyserver, set the port to 80, and specify
 to bypass the proxy server
// for local addresses.
IWebProxy proxyObject = new WebProxy("http://proxyserver:80",
 true);
math.Proxy = proxyObject;

// Call the Add XML Web service method.
int total = math.Add(8, 5);
MyMath::Math^ math = gcnew MyMath::Math;

// Set the proxy server to proxyserver, set the port to 80, and specify
 to bypass the proxy server
// for local addresses.
IWebProxy^ proxyObject = gcnew WebProxy( "http://proxyserver:80",true
 );
math->Proxy = proxyObject;

// Call the Add XML Web service method.
int total = math->Add( 8, 5 );

MyMath.Math math = new MyMath.Math();

// Set the proxy server to proxyserver, set the port to 80, 
// and specify to bypass the proxy server
// for local addresses.
IWebProxy proxyObject = new WebProxy("http://proxyserver:80",
 true);
math.set_Proxy(proxyObject);

// Call the Add XML Web service method.
int total = math.Add(8, 5);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpWebClientProtocol クラス
HttpWebClientProtocol メンバ
System.Web.Services.Protocols 名前空間
IWebProxy
WebProxy


このページでは「.NET Framework クラス ライブラリ リファレンス」からHttpWebClientProtocol.Proxy プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHttpWebClientProtocol.Proxy プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpWebClientProtocol.Proxy プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

HttpWebClientProtocol.Proxy プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpWebClientProtocol.Proxy プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS