Bagikan melalui


IcmpV4Statistics.ParameterProblemsSent Properti

Definisi

Mendapatkan jumlah pesan Masalah Parameter Protokol Pesan Kontrol Internet versi 4 (ICMPv4) yang dikirim.

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

Nilai Properti

Nilai Int64 yang menentukan jumlah total pesan Masalah Parameter ICMP yang dikirim.

Contoh

Contoh berikut menampilkan nilai properti ini.

void ShowParameterData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV4Statistics ^ statistics = properties->GetIcmpV4Statistics();
   Console::WriteLine( "  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", 
      statistics->ParameterProblemsSent, 
      statistics->ParameterProblemsReceived );
}
public static void ShowParameterData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived);
}
Public Shared Sub ShowParameterData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived)

End Sub

Keterangan

Pesan Masalah Parameter dikirim ketika komputer host atau perute mengalami masalah saat memproses konten header paket, seperti mengalami opsi IPv4 yang tidak valid atau jenis Header Berikutnya yang tidak valid.

Berlaku untuk