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

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

例外

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

適用対象