Bagikan melalui


IcmpV6Statistics.ParameterProblemsSent Properti

Definisi

Mendapatkan jumlah pesan Masalah Parameter Protokol Pesan Kontrol Internet versi 6 (ICMPv6) 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 ShowIcmpV6ParameterData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( "  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", 
      statistics->ParameterProblemsSent, 
      statistics->ParameterProblemsReceived );
}
public static void ShowIcmpV6ParameterData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived);
}
Public Shared Sub ShowIcmpV6ParameterData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    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 IPv6 yang tidak valid atau jenis Header Berikutnya yang tidak valid.

Berlaku untuk