Partager via


IcmpV6Statistics.PacketTooBigMessagesReceived Propriété

Définition

Obtient le nombre de messages Paquet trop important ICMPv6 reçus.

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

Valeur de propriété

Valeur Int64 qui spécifie le nombre total de messages Paquet trop important ICMP reçus.

Exemples

L’exemple suivant affiche la valeur de cette propriété.

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

Remarques

Un routeur envoie un message Paquet trop volumineux lorsqu’un paquet ne peut pas être transféré, car il est supérieur à l’unité de transmission maximale (MTU) du lien sortant.

S’applique à