IcmpV6Statistics Klasse

Definition

Stellt ICMPv6 (Internet Control Message Protocol für Internet Protocol, Version 6)-Statistikdaten für den lokalen Computer bereit.

public ref class IcmpV6Statistics abstract
public abstract class IcmpV6Statistics
type IcmpV6Statistics = class
Public MustInherit Class IcmpV6Statistics
Vererbung
IcmpV6Statistics

Beispiele

Im folgenden Beispiel werden die aktuellen ICMPv6-Statistiken angezeigt.

void ShowIcmpV6Statistics()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ stat = properties->GetIcmpV6Statistics();
   Console::WriteLine( "ICMP V6 Statistics:" );
   Console::WriteLine( "  Messages ............................ Sent: {0,-10}   Received: {1,-10}", stat->MessagesSent, stat->MessagesReceived );
   Console::WriteLine( "  Errors .............................. Sent: {0,-10}   Received: {1,-10}", stat->ErrorsSent, stat->ErrorsReceived );
   Console::WriteLine( "  Echo Requests ....................... Sent: {0,-10}   Received: {1,-10}", stat->EchoRequestsSent, stat->EchoRequestsReceived );
   Console::WriteLine( "  Echo Replies ........................ Sent: {0,-10}   Received: {1,-10}", stat->EchoRepliesSent, stat->EchoRepliesReceived );
   Console::WriteLine( "  Destination Unreachables ............ Sent: {0,-10}   Received: {1,-10}", stat->DestinationUnreachableMessagesSent, stat->DestinationUnreachableMessagesReceived );
   Console::WriteLine( "  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", stat->ParameterProblemsSent, stat->ParameterProblemsReceived );
   Console::WriteLine( "  Packets Too Big ..................... Sent: {0,-10}   Received: {1,-10}", stat->PacketTooBigMessagesSent, stat->PacketTooBigMessagesReceived );
   Console::WriteLine( "  Redirects ........................... Sent: {0,-10}   Received: {1,-10}", stat->RedirectsSent, stat->RedirectsReceived );
   Console::WriteLine( "  Router Advertisements ............... Sent: {0,-10}   Received: {1,-10}", stat->RouterAdvertisementsSent, stat->RouterAdvertisementsReceived );
   Console::WriteLine( "  Router Solicitations ................ Sent: {0,-10}   Received: {1,-10}", stat->RouterSolicitsSent, stat->RouterSolicitsReceived );
   Console::WriteLine( "  Time Exceeded ....................... Sent: {0,-10}   Received: {1,-10}", stat->TimeExceededMessagesSent, stat->TimeExceededMessagesReceived );
   Console::WriteLine( "  Neighbor Advertisements ............. Sent: {0,-10}   Received: {1,-10}", stat->NeighborAdvertisementsSent, stat->NeighborAdvertisementsReceived );
   Console::WriteLine( "  Neighbor Solicitations .............. Sent: {0,-10}   Received: {1,-10}", stat->NeighborSolicitsSent, stat->NeighborSolicitsReceived );
   Console::WriteLine( "  Membership Queries .................. Sent: {0,-10}   Received: {1,-10}", stat->MembershipQueriesSent, stat->MembershipQueriesReceived );
   Console::WriteLine( "  Membership Reports .................. Sent: {0,-10}   Received: {1,-10}", stat->MembershipReportsSent, stat->MembershipReportsReceived );
   Console::WriteLine( "  Membership Reductions ............... Sent: {0,-10}   Received: {1,-10}", stat->MembershipReductionsSent, stat->MembershipReductionsReceived );
   Console::WriteLine( "" );
}
public static void ShowIcmpV6Statistics()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics stat = properties.GetIcmpV6Statistics();
    Console.WriteLine("ICMP V6 Statistics:");
    Console.WriteLine("  Messages ............................ Sent: {0,-10}   Received: {1,-10}",
        stat.MessagesSent, stat.MessagesReceived);
    Console.WriteLine("  Errors .............................. Sent: {0,-10}   Received: {1,-10}",
        stat.ErrorsSent, stat.ErrorsReceived);

    Console.WriteLine("  Echo Requests ....................... Sent: {0,-10}   Received: {1,-10}",
        stat.EchoRequestsSent, stat.EchoRequestsReceived);
    Console.WriteLine("  Echo Replies ........................ Sent: {0,-10}   Received: {1,-10}",
        stat.EchoRepliesSent, stat.EchoRepliesReceived);

    Console.WriteLine("  Destination Unreachables ............ Sent: {0,-10}   Received: {1,-10}",
        stat.DestinationUnreachableMessagesSent, stat.DestinationUnreachableMessagesReceived);

    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}",
        stat.ParameterProblemsSent, stat.ParameterProblemsReceived);

    Console.WriteLine("  Packets Too Big ..................... Sent: {0,-10}   Received: {1,-10}",
        stat.PacketTooBigMessagesSent, stat.PacketTooBigMessagesReceived);

    Console.WriteLine("  Redirects ........................... Sent: {0,-10}   Received: {1,-10}",
        stat.RedirectsSent, stat.RedirectsReceived);

    Console.WriteLine("  Router Advertisements ............... Sent: {0,-10}   Received: {1,-10}",
        stat.RouterAdvertisementsSent, stat.RouterAdvertisementsReceived);
    Console.WriteLine("  Router Solicitations ................ Sent: {0,-10}   Received: {1,-10}",
        stat.RouterSolicitsSent, stat.RouterSolicitsReceived);

    Console.WriteLine("  Time Exceeded ....................... Sent: {0,-10}   Received: {1,-10}",
        stat.TimeExceededMessagesSent, stat.TimeExceededMessagesReceived);

    Console.WriteLine("  Neighbor Advertisements ............. Sent: {0,-10}   Received: {1,-10}",
        stat.NeighborAdvertisementsSent, stat.NeighborAdvertisementsReceived);
    Console.WriteLine("  Neighbor Solicitations .............. Sent: {0,-10}   Received: {1,-10}",
        stat.NeighborSolicitsSent, stat.NeighborSolicitsReceived);

    Console.WriteLine("  Membership Queries .................. Sent: {0,-10}   Received: {1,-10}",
        stat.MembershipQueriesSent, stat.MembershipQueriesReceived);
    Console.WriteLine("  Membership Reports .................. Sent: {0,-10}   Received: {1,-10}",
        stat.MembershipReportsSent, stat.MembershipReportsReceived);
    Console.WriteLine("  Membership Reductions ............... Sent: {0,-10}   Received: {1,-10}",
        stat.MembershipReductionsSent, stat.MembershipReductionsReceived);

    Console.WriteLine("");
}

Hinweise

ICMPV6 ist eine Reihe von Fehler- und Informationsmeldungen für die Verwendung mit InternetProtokoll Version 6 (IPv6). Diese Klasse wird von der GetIcmpV6Statistics -Methode verwendet, um ICMPV6-Datenverkehrsinformationen zurückzugeben.

Die Eigenschaften in dieser Klasse korrelieren mit den Management Information Base-Objekten für ICMPv6, die in IETF RFC 2466 definiert sind. ICMPv6 ist in RFC 2463 definiert.

Konstruktoren

IcmpV6Statistics()

Initialisiert eine neue Instanz der IcmpV6Statistics-Klasse.

Eigenschaften

DestinationUnreachableMessagesReceived

Ruft die Anzahl der ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab, die empfangen wurden, weil die als Ziel eines Pakets angegebene Adresse nicht erreichbar ist.

DestinationUnreachableMessagesSent

Ruft die Anzahl der ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab, die gesendet wurden, weil die als Ziel eines Pakets angegebene Adresse nicht erreichbar ist.

EchoRepliesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Reply-Meldungen ab.

EchoRepliesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Reply-Meldungen ab.

EchoRequestsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Request-Meldungen ab.

EchoRequestsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Request-Meldungen ab.

ErrorsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Fehlermeldungen ab.

ErrorsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Fehlermeldungen ab.

MembershipQueriesReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Query-Meldungen ab.

MembershipQueriesSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Query-Meldungen ab.

MembershipReductionsReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Reduction-Meldungen ab.

MembershipReductionsSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Reduction-Meldungen ab.

MembershipReportsReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Report-Meldungen ab.

MembershipReportsSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Report-Meldungen ab.

MessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab.

MessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab.

NeighborAdvertisementsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Advertisement-Meldungen ab.

NeighborAdvertisementsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Advertisement-Meldungen ab.

NeighborSolicitsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Solicitation-Meldungen ab.

NeighborSolicitsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Solicitation-Meldungen ab.

PacketTooBigMessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Packet Too Big-Meldungen ab.

PacketTooBigMessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Packet Too Big-Meldungen ab.

ParameterProblemsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Parameter Problem-Meldungen ab.

ParameterProblemsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Parameter Problem-Meldungen ab.

RedirectsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Redirect-Meldungen ab.

RedirectsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Redirect-Meldungen ab.

RouterAdvertisementsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Router Advertisement-Meldungen ab.

RouterAdvertisementsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Router Advertisement-Meldungen ab.

RouterSolicitsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Router Solicitation-Meldungen ab.

RouterSolicitsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Router Solicitation-Meldungen ab.

TimeExceededMessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Time Exceeded-Meldungen ab.

TimeExceededMessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Time Exceeded-Meldungen ab.

Methoden

Equals(Object)

Bestimmt, ob das angegebene Objekt gleich dem aktuellen Objekt ist.

(Geerbt von Object)
GetHashCode()

Fungiert als Standardhashfunktion.

(Geerbt von Object)
GetType()

Ruft den Type der aktuellen Instanz ab.

(Geerbt von Object)
MemberwiseClone()

Erstellt eine flache Kopie des aktuellen Object.

(Geerbt von Object)
ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.

(Geerbt von Object)

Gilt für: