ServicePoint.Address プロパティ

定義

この ServicePoint オブジェクトが接続するサーバーの URI (Uniform Resource Identifier) を取得します。

public:
 property Uri ^ Address { Uri ^ get(); };
public Uri Address { get; }
member this.Address : Uri
Public ReadOnly Property Address As Uri

プロパティ値

Uri

このServicePoint オブジェクトが接続するインターネット サーバーの URI を格納しているUri クラスのインスタンス。

例外

ServicePointはホスト モードです。

次のコード例では、このプロパティの値を表示します。

// 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()))

適用対象