ServicePoint.CurrentConnections プロパティ
アセンブリ: System (system.dll 内)
構文ServicePoint オブジェクトに関連付けられている、開いている接続数。
解説CurrentConnections プロパティは、ServicePoint オブジェクトに関連付けられた開いているインターネット接続数を格納します。CurrentConnections の値は、ConnectionLimit の値を超えることができません。
使用例CurrentConnections プロパティを使用して、ServicePoint オブジェクトに関連付けられた開いているインターネット接続数を確認するコード例を次に示します。
' Display the ServicePoint Internet resource address. Console.WriteLine(("Address = " + sp.Address.ToString()))
// Display the ServicePoint Internet resource address. Console.WriteLine ("Address = {0} ", sp.Address.ToString ());
プラットフォーム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に収録されているすべての辞書からServicePoint.CurrentConnections プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からServicePoint.CurrentConnections プロパティ
を検索
- ServicePoint.CurrentConnections プロパティのページへのリンク