IRequestChannel.RemoteAddress Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.