Bagikan melalui


IRequestChannel.RemoteAddress Properti

Definisi

Mendapatkan alamat jarak jauh tempat saluran permintaan mengirim pesan.

public:
 property System::ServiceModel::EndpointAddress ^ RemoteAddress { System::ServiceModel::EndpointAddress ^ get(); };
public System.ServiceModel.EndpointAddress RemoteAddress { get; }
member this.RemoteAddress : System.ServiceModel.EndpointAddress
Public ReadOnly Property RemoteAddress As EndpointAddress

Nilai Properti

tempat EndpointAddress saluran permintaan mengirim pesan.

Contoh

Kode berikut menunjukkan cara mengimplementasikan properti ini.

public EndpointAddress RemoteAddress
{
    get { return this.InnerChannel.RemoteAddress; }
}

Keterangan

EndpointAddress berfungsi sebagai tujuan akhir dan alamat fisik jika Via tidak ditentukan. Via Jika ditentukan, maka itu adalah alamat fisik aktual tempat pesan dikirim dan di mana pesan harus sampai di tujuannya.

Berlaku untuk