IcmpV6Statistics IcmpV6Statistics IcmpV6Statistics IcmpV6Statistics Class

Definition

Stellt ICMPv6 (Internet Control Message Protocol für Internet Protocol, Version 6)-Statistikdaten für den lokalen Computer bereit.Provides Internet Control Message Protocol for Internet Protocol version 6 (ICMPv6) statistical data for the local computer.

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

Beispiele

Das folgende Beispiel zeigt die aktuellen ICMPv6-Statistiken.The following example displays the current ICMPv6 statistics.

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 ein Satz von Fehler- und informationsmeldungen für die Verwendung mit Internet Protocol, Version 6 (IPv6).ICMPV6 is a set of error and informational messages for use with Internet Protocol version 6 (IPv6). Diese Klasse wird verwendet, durch die GetIcmpV6Statistics Methode zum Zurückgeben von Informationen für ICMPV6-Datenverkehr.This class is used by the GetIcmpV6Statistics method to return ICMPV6 traffic information.

Die Eigenschaften in dieser Klasse entsprechen der Management Information Base-Objekte für ICMPv6 in IETF RFC 2466 definiert.The properties in this class correlate to the Management Information Base objects for ICMPv6 defined in IETF RFC 2466. ICMPv6 ist in RFC 2463 definiert.ICMPv6 is defined in RFC 2463.

Konstruktoren

IcmpV6Statistics() IcmpV6Statistics() IcmpV6Statistics() IcmpV6Statistics()

Initialisiert eine neue Instanz der IcmpV6Statistics-Klasse.Initializes a new instance of the IcmpV6Statistics class.

Eigenschaften

DestinationUnreachableMessagesReceived DestinationUnreachableMessagesReceived DestinationUnreachableMessagesReceived 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.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) messages received because of a packet having an unreachable address in its destination.

DestinationUnreachableMessagesSent DestinationUnreachableMessagesSent DestinationUnreachableMessagesSent 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.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) messages sent because of a packet having an unreachable address in its destination.

EchoRepliesReceived EchoRepliesReceived EchoRepliesReceived EchoRepliesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Reply-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Echo Reply messages received.

EchoRepliesSent EchoRepliesSent EchoRepliesSent EchoRepliesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Reply-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Echo Reply messages sent.

EchoRequestsReceived EchoRequestsReceived EchoRequestsReceived EchoRequestsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Request-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Echo Request messages received.

EchoRequestsSent EchoRequestsSent EchoRequestsSent EchoRequestsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Echo Request-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Echo Request messages sent.

ErrorsReceived ErrorsReceived ErrorsReceived ErrorsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Fehlermeldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) error messages received.

ErrorsSent ErrorsSent ErrorsSent ErrorsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Fehlermeldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) error messages sent.

MembershipQueriesReceived MembershipQueriesReceived MembershipQueriesReceived MembershipQueriesReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Query-Meldungen ab.Gets the number of Internet Group management Protocol (IGMP) Group Membership Query messages received.

MembershipQueriesSent MembershipQueriesSent MembershipQueriesSent MembershipQueriesSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Query-Meldungen ab.Gets the number of Internet Group management Protocol (IGMP) Group Membership Query messages sent.

MembershipReductionsReceived MembershipReductionsReceived MembershipReductionsReceived MembershipReductionsReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Reduction-Meldungen ab.Gets the number of Internet Group Management Protocol (IGMP) Group Membership Reduction messages received.

MembershipReductionsSent MembershipReductionsSent MembershipReductionsSent MembershipReductionsSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Reduction-Meldungen ab.Gets the number of Internet Group Management Protocol (IGMP) Group Membership Reduction messages sent.

MembershipReportsReceived MembershipReportsReceived MembershipReportsReceived MembershipReportsReceived

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Report-Meldungen ab.Gets the number of Internet Group Management Protocol (IGMP) Group Membership Report messages received.

MembershipReportsSent MembershipReportsSent MembershipReportsSent MembershipReportsSent

Ruft die Anzahl der gesendeten IGMP (Internet Group Management Protocol)-Group Membership Report-Meldungen ab.Gets the number of Internet Group Management Protocol (IGMP) Group Membership Report messages sent.

MessagesReceived MessagesReceived MessagesReceived MessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) messages received.

MessagesSent MessagesSent MessagesSent MessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) messages sent.

NeighborAdvertisementsReceived NeighborAdvertisementsReceived NeighborAdvertisementsReceived NeighborAdvertisementsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Advertisement-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Neighbor Advertisement messages received.

NeighborAdvertisementsSent NeighborAdvertisementsSent NeighborAdvertisementsSent NeighborAdvertisementsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Advertisement-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Neighbor Advertisement messages sent.

NeighborSolicitsReceived NeighborSolicitsReceived NeighborSolicitsReceived NeighborSolicitsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Solicitation-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Neighbor Solicitation messages received.

NeighborSolicitsSent NeighborSolicitsSent NeighborSolicitsSent NeighborSolicitsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Neighbor Solicitation-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Neighbor Solicitation messages sent.

PacketTooBigMessagesReceived PacketTooBigMessagesReceived PacketTooBigMessagesReceived PacketTooBigMessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Packet Too Big-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Packet Too Big messages received.

PacketTooBigMessagesSent PacketTooBigMessagesSent PacketTooBigMessagesSent PacketTooBigMessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Packet Too Big-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Packet Too Big messages sent.

ParameterProblemsReceived ParameterProblemsReceived ParameterProblemsReceived ParameterProblemsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Parameter Problem-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Parameter Problem messages received.

ParameterProblemsSent ParameterProblemsSent ParameterProblemsSent ParameterProblemsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Parameter Problem-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Parameter Problem messages sent.

RedirectsReceived RedirectsReceived RedirectsReceived RedirectsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Redirect-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Redirect messages received.

RedirectsSent RedirectsSent RedirectsSent RedirectsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Redirect-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Redirect messages sent.

RouterAdvertisementsReceived RouterAdvertisementsReceived RouterAdvertisementsReceived RouterAdvertisementsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Router Advertisement-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Router Advertisement messages received.

RouterAdvertisementsSent RouterAdvertisementsSent RouterAdvertisementsSent RouterAdvertisementsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Router Advertisement-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Router Advertisement messages sent.

RouterSolicitsReceived RouterSolicitsReceived RouterSolicitsReceived RouterSolicitsReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Router Solicitation-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Router Solicitation messages received.

RouterSolicitsSent RouterSolicitsSent RouterSolicitsSent RouterSolicitsSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Router Solicitation-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Router Solicitation messages sent.

TimeExceededMessagesReceived TimeExceededMessagesReceived TimeExceededMessagesReceived TimeExceededMessagesReceived

Ruft die Anzahl der empfangenen ICMPv6 (Internet Control Message Protocol, Version 6)-Time Exceeded-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Time Exceeded messages received.

TimeExceededMessagesSent TimeExceededMessagesSent TimeExceededMessagesSent TimeExceededMessagesSent

Ruft die Anzahl der gesendeten ICMPv6 (Internet Control Message Protocol, Version 6)-Time Exceeded-Meldungen ab.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Time Exceeded messages sent.

Methoden

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Bestimmt, ob das angegebene Objekt mit dem aktuellen Objekt identisch ist.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Fungiert als Standardhashfunktion.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Ruft den Type der aktuellen Instanz ab.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Erstellt eine flache Kopie des aktuellen Object.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.Returns a string that represents the current object.

(Inherited from Object)

Gilt für: