ServicePoint.CurrentConnections プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ServicePoint オブジェクトに関連付けられている、開いている接続の数を取得します。
public:
property int CurrentConnections { int get(); };
public int CurrentConnections { get; }
member this.CurrentConnections : int
Public ReadOnly Property CurrentConnections As Integer
プロパティ値
ServicePoint オブジェクトに関連付けられている、開いている接続の数。
例
次のコード例では、 プロパティを CurrentConnections 使用して、この ServicePoint オブジェクトに関連付けられている開いているインターネット接続の数を決定します。
// Display the ServicePoint Internet resource address.
Console::WriteLine( "Address = {0}", sp->Address );
// Display the ServicePoint Internet resource address.
Console.WriteLine("Address = {0} ", sp.Address.ToString());
' Display the ServicePoint Internet resource address.
Console.WriteLine(("Address = " + sp.Address.ToString()))
注釈
プロパティには CurrentConnections 、このオブジェクトに関連付けられている開いているインターネット接続の数が ServicePoint 含まれます。 の CurrentConnections 値は、 の ConnectionLimit値を超えることはできません。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示