Bagikan melalui


IcmpV4Statistics.SourceQuenchesSent Properti

Definisi

Mendapatkan jumlah pesan Source Quench Protokol Pesan Kontrol Internet versi 4 (ICMPv4) yang dikirim.

public:
 abstract property long SourceQuenchesSent { long get(); };
public abstract long SourceQuenchesSent { get; }
member this.SourceQuenchesSent : int64
Public MustOverride ReadOnly Property SourceQuenchesSent As Long

Nilai Properti

Nilai Int64 yang menentukan jumlah total pesan Source Quench yang dikirim.

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.

Berlaku untuk