ServicePoint.Address プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この 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
プロパティ値
この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()))