ServicePoint.ConnectionName プロパティとは?

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

初めての方へ

参加元一覧


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

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

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

ServicePoint.ConnectionName プロパティ

接続確立した WebRequest オブジェクトによって決定される接続グループ名を取得します。

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

Public ReadOnly Property
 ConnectionName As String
Dim instance As ServicePoint
Dim value As String

value = instance.ConnectionName
public string ConnectionName { get;
 }
public:
property String^ ConnectionName {
    String^ get ();
}
/** @property */
public String get_ConnectionName ()
public function get ConnectionName
 () : String

プロパティ
接続確立した 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()));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照





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


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

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

©2012 Weblio RSS