IcmpV4Statistics.SourceQuenchesReceived 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 jumlah pesan Source Quench Protokol Pesan Kontrol Internet versi 4 (ICMPv4) yang diterima.
public:
abstract property long SourceQuenchesReceived { long get(); };
public abstract long SourceQuenchesReceived { get; }
member this.SourceQuenchesReceived : int64
Public MustOverride ReadOnly Property SourceQuenchesReceived As Long
Nilai Properti
Nilai Int64 yang menentukan jumlah total pesan Source Quench yang diterima.
Contoh
Contoh berikut menampilkan nilai properti ini.
void ShowSourceQuenchData()
{
IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
IcmpV4Statistics ^ statistics = properties->GetIcmpV4Statistics();
Console::WriteLine( " Source Quenches ..................... Sent: {0,-10} Received: {1,-10}",
statistics->SourceQuenchesSent,
statistics->SourceQuenchesReceived );
}
public static void ShowSourceQuenchData()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
Console.WriteLine(" Source Quenches ..................... Sent: {0,-10} Received: {1,-10}",
statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived);
}
Public Shared Sub ShowSourceQuenchData()
Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
Console.WriteLine(" Source Quenches ..................... Sent: {0,-10} Received: {1,-10}", statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived)
End Sub
Keterangan
Pesan Source Quench dikirim ketika paket dibuang karena ruang yang tidak mencukupi dalam antrean output. Komputer tujuan juga dapat mengirim pesan Source Quench jika paket tiba terlalu cepat untuk diproses. Pesan antrean sumber adalah permintaan kepada host untuk mengurangi laju pengiriman lalu lintas ke tujuan Internet.