ServicePoint.ConnectionName プロパティ
アセンブリ: System (system.dll 内)
構文接続を確立した WebRequest オブジェクトが割り当てる接続グループ名を格納している String。
解説ConnectionName プロパティは、ServicePoint オブジェクトが提供する接続を開始した WebRequest オブジェクトの ConnectionGroupName プロパティに割り当てられる接続グループを格納します。ConnectionName プロパティが設定されている場合は、ConnectionGroupName 値が同じ WebRequest オブジェクトだけが 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()));
プラットフォーム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.ConnectionName プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からServicePoint.ConnectionName プロパティ
を検索
- ServicePoint.ConnectionName プロパティのページへのリンク