IcmpV6Statistics.PacketTooBigMessagesReceived Propriedade

Definição

Obtém o número de mensagens de pacote grande demais de ICMPv6 (protocolo ICMPv6) recebidas.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Packet Too Big messages received.

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

Valor da propriedade

Int64

Um Int64 valor que especifica o número total de mensagens de pacote ICMP muito grandes recebidas.An Int64 value that specifies the total number of ICMP Packet Too Big messages received.

Exemplos

O exemplo a seguir exibe o valor dessa propriedade.The following example displays the value of this property.

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


Comentários

Um roteador envia uma mensagem de pacote muito grande quando um pacote não pode ser encaminhado porque é maior que a MTU (unidade de transmissão) máxima do link de saída.A router sends a Packet Too Big message when a packet cannot be forwarded because it is larger than the maximum transmission unit (MTU) of the outgoing link.

Aplica-se a