ServicePointManagerとは? わかりやすく解説

ServicePointManager クラス

ServicePoint オブジェクトのコレクションを管理します。

名前空間: System.Net
アセンブリ: System (system.dll 内)
構文構文

Public Class ServicePointManager
Dim instance As ServicePointManager
public class ServicePointManager
public ref class ServicePointManager
public class ServicePointManager
public class ServicePointManager
解説解説
使用例使用例

www.contoso.com という URI に接続する ServicePoint オブジェクトを作成するコード例を次に示します。

Dim myUri As New Uri("http://www.contoso.com/")
       
Dim mySP As ServicePoint = ServicePointManager.FindServicePoint(myUri)

Uri myUri = new Uri("http://www.contoso.com/");
 
 ServicePoint mySP = ServicePointManager.FindServicePoint(myUri);
   
Uri^ myUri = gcnew Uri( "http://www.contoso.com/" );
ServicePoint^ mySP = ServicePointManager::FindServicePoint( myUri );
Uri myUri = new Uri("http://www.contoso.com/");
ServicePoint mySP = ServicePointManager.FindServicePoint(myUri);
継承階層継承階層
System.Object
  System.Net.ServicePointManager
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

ServicePointManager フィールド


パブリック フィールドパブリック フィールド

  名前 説明
パブリック フィールド DefaultPersistentConnectionLimit HTTP/1.1 以降のサーバーに接続される ServicePoint オブジェクトで許可する永続的な接続の既定の数 (2)。このフィールドは定数であり、DefaultConnectionLimit プロパティの値が直接にも構成によっても設定されていない場合に DefaultConnectionLimit プロパティを初期化するために使用されます。
参照参照

関連項目

ServicePointManager クラス
System.Net 名前空間

ServicePointManager プロパティ


ServicePointManager メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ServicePointManager クラス
System.Net 名前空間

ServicePointManager メンバ

ServicePoint オブジェクトのコレクションを管理します。

ServicePointManager データ型で公開されるメンバを以下の表に示します。


パブリック フィールドパブリック フィールド
  名前 説明
パブリック フィールド DefaultPersistentConnectionLimit HTTP/1.1 以降のサーバーに接続される ServicePoint オブジェクトで許可する永続的な接続の既定の数 (2)。このフィールドは定数であり、DefaultConnectionLimit プロパティの値が直接にも構成によっても設定されていない場合に DefaultConnectionLimit プロパティを初期化するために使用されます。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ServicePointManager クラス
System.Net 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「ServicePointManager」の関連用語

ServicePointManagerのお隣キーワード
検索ランキング

   

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



ServicePointManagerのページの著作権

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

©2026 GRAS Group, Inc.RSS