IcmpV6Statistics.PacketTooBigMessagesSent 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 Paket Protokol Pesan Kontrol Internet versi 6 (ICMPv6) Terlalu Besar yang dikirim.
public:
abstract property long PacketTooBigMessagesSent { long get(); };
public abstract long PacketTooBigMessagesSent { get; }
member this.PacketTooBigMessagesSent : int64
Public MustOverride ReadOnly Property PacketTooBigMessagesSent As Long
Nilai Properti
Nilai Int64 yang menentukan jumlah total pesan Paket ICMP Terlalu Besar yang dikirim.
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.