Bagikan melalui


IcmpV6Statistics.PacketTooBigMessagesReceived Properti

Definisi

Mendapatkan jumlah pesan Paket Protokol Pesan Kontrol Internet versi 6 (ICMPv6) yang diterima.

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

Nilai Properti

Nilai Int64 yang menentukan jumlah total pesan ICMP Packet Too Big yang diterima.

Contoh

Contoh berikut menampilkan nilai properti ini.

void ShowIcmpV6BigPacketData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( " Too Big Packet ........................ Sent: {0,-10}   Received: {1,-10}", 
      statistics->PacketTooBigMessagesSent, 
      statistics->PacketTooBigMessagesReceived );
}
public static void ShowIcmpV6BigPacketData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine (" Too Big Packet ........................ Sent: {0,-10}   Received: {1,-10}",
    statistics.PacketTooBigMessagesSent, statistics.PacketTooBigMessagesReceived);
}
Public Shared Sub ShowIcmpV6BigPacketData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine(" Too Big Packet ........................ Sent: {0,-10}   Received: {1,-10}", statistics.PacketTooBigMessagesSent, statistics.PacketTooBigMessagesReceived)

End Sub

Keterangan

Router mengirimkan pesan Paket Terlalu Besar ketika paket tidak dapat diteruskan karena lebih besar dari unit transmisi maksimum (MTU) dari tautan keluar.

Berlaku untuk