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

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

ServicePoint.ConnectionLimit プロパティ

ServicePoint オブジェクト許可される接続最大数を取得または設定します

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

Dim instance As ServicePoint
Dim value As Integer

value = instance.ConnectionLimit

instance.ConnectionLimit = value
public int ConnectionLimit { get;
 set; }
public:
property int ConnectionLimit {
    int get ();
    void set (int value);
}
/** @property */
public int get_ConnectionLimit ()

/** @property */
public void set_ConnectionLimit (int
 value)
public function get ConnectionLimit
 () : int

public function set ConnectionLimit
 (value : int)

プロパティ
ServicePoint オブジェクト許可される接続最大数。

例外例外
例外種類条件

ArgumentOutOfRangeException

接続上限が 0 以下です。

解説解説
使用例使用例

ConnectionLimit プロパティ使用して指定した URI (Uniform Resource Identifier) に対して ServicePoint オブジェクト確立できる接続最大数をチェックするコード例次に示します

Console.WriteLine(("ConnectionName = " + sp.ConnectionName))

' Display the maximum number of connections allowed on this 
' ServicePoint instance.
Console.WriteLine(("ConnectionLimit = " + sp.ConnectionLimit.ToString()))

' Display the number of connections associated with this 
' ServicePoint instance.
Console.WriteLine(("CurrentConnections = " + sp.CurrentConnections.ToString()))

Console.WriteLine ("ConnectionName = " + sp.ConnectionName);

// Display the maximum number of connections allowed on this 
// ServicePoint instance.
Console.WriteLine ("ConnectionLimit = " + sp.ConnectionLimit);

// Display the number of connections associated with this 
// ServicePoint instance.
Console.WriteLine ("CurrentConnections = " + sp.CurrentConnections);

Console::WriteLine( "ConnectionName = {0}", sp->ConnectionName );

// Display the maximum number of connections allowed on this 
// ServicePoint instance.
Console::WriteLine( "ConnectionLimit = {0}", sp->ConnectionLimit );

// Display the number of connections associated with this 
// ServicePoint instance.
Console::WriteLine( "CurrentConnections = {0}", sp->CurrentConnections
 );

Console.WriteLine(("ConnectionName = " + sp.get_ConnectionName()));

// Display the maximum number of connections allowed on this 
// ServicePoint instance.
Console.WriteLine(("ConnectionLimit = " + sp.get_ConnectionLimit()));

// Display the number of connections associated with this 
// ServicePoint instance.
Console.WriteLine(("CurrentConnections = " 
    + sp.get_CurrentConnections()));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

「ServicePoint.ConnectionLimit プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS