ServicePoint.ConnectionLimit プロパティとは?

辞典・百科事典の検索サービス - Weblio辞書

初めての方へ

参加元一覧


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

.NET Framework クラス ライブラリ リファレンス

日本マイクロソフト株式会社日本マイクロソフト株式会社

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 オブジェクト許可される接続最大数。

例外例外
解説解説
使用例使用

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()));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照





ServicePoint.ConnectionLimit プロパティのページへのリンク
「ServicePoint.ConnectionLimit プロパティ」の関連用語
ServicePoint.ConnectionLimit プロパティのお隣キーワード
モバイル
モバイル版のWeblioは、下記のURLからアクセスしてください。
http://m.weblio.jp/
_ _   


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

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

©2012 Weblio RSS