Bagikan melalui


ServicePoint.Address Properti

Definisi

Mendapatkan Pengidentifikasi Sumber Daya Seragam (URI) server yang tersambung dengan objek ini ServicePoint .

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

Nilai Properti

Uri

Instans Uri kelas yang berisi URI server Internet tempat objek ini ServicePoint tersambung.

Pengecualian

Contoh

Contoh kode berikut menampilkan nilai properti ini.

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

Berlaku untuk