ServicePointManager.DefaultConnectionLimit プロパティ
ServicePoint オブジェクトで許可される同時接続の最大数を取得または設定します。
名前空間: System.Net
アセンブリ: System (system.dll 内)
構文
Dim value As Integer value = ServicePointManager.DefaultConnectionLimit ServicePointManager.DefaultConnectionLimit = value
/** @property */ public static int get_DefaultConnectionLimit () /** @property */ public static void set_DefaultConnectionLimit (int value)


DefaultConnectionLimit プロパティは、ServicePoint オブジェクトの作成時に ServicePointManager オブジェクトが ConnectionLimit プロパティに割り当てる同時接続の既定の最大数を設定します。
DefaultConnectionLimit プロパティを変更しても、既存の ServicePoint オブジェクトには影響しません。変更の後に初期化された ServicePoint オブジェクトだけに影響します。このプロパティの値が直接設定されず、構成によっても設定されていない場合、値は既定の定数値 DefaultPersistentConnectionLimit になります。
![]() |
---|
DefaultConnectionLimit プロパティに加えられた変更は、HTTP 1.0 接続と HTTP 1.1 接続の両方に影響します。HTTP 1.0 プロトコルと HTTP 1.1 プロトコルの接続限度を別々に変更することはできません。サーバー環境 (ASP.NET) で使用した場合、DefaultConnectionLimit は既定で多い方の接続数、つまり 10 になります。 |

ServicePointManager.UseNagleAlgorithm = True ServicePointManager.Expect100Continue = True ServicePointManager.CheckCertificateRevocationList = True ServicePointManager.DefaultConnectionLimit = _ ServicePointManager.DefaultPersistentConnectionLimit
ServicePointManager.UseNagleAlgorithm = true; ServicePointManager.Expect100Continue = true; ServicePointManager.CheckCertificateRevocationList = true; ServicePointManager.DefaultConnectionLimit = ServicePointManager.DefaultPersistentConnectionLimit;


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からServicePointManager.DefaultConnectionLimit プロパティを検索する場合は、下記のリンクをクリックしてください。

- ServicePointManager.DefaultConnectionLimit プロパティのページへのリンク