다음을 통해 공유


IcmpV6Statistics.PacketTooBigMessagesReceived 속성

정의

받은 ICMPv6(Internet Control Message Protocol 버전 6) Packet Too Big 메시지의 수를 가져옵니다.

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

속성 값

받은 ICMP Packet Too Big 메시지의 총 수를 나타내는 Int64 값입니다.

예제

다음 예제에서는이 속성의 값을 표시 합니다.

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

설명

라우터는 패킷을 보내는 링크의 최대 전송 단위 (MTU) 보다 크기 때문에 전달할 수 없습니다 때 Packet Too Big 메시지를 보냅니다.

적용 대상