IcmpV6Statistics.ParameterProblemsReceived Propriété

Définition

Obtient le nombre de messages Problème de paramètre ICMPv6 reçus.

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

Valeur de propriété

Valeur Int64 qui spécifie le nombre total de messages Problème de paramètre ICMP reçus.

Exemples

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

void ShowIcmpV6ParameterData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( "  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", 
      statistics->ParameterProblemsSent, 
      statistics->ParameterProblemsReceived );
}
public static void ShowIcmpV6ParameterData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived);
}
Public Shared Sub ShowIcmpV6ParameterData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived)

End Sub

Remarques

Les messages de problème de paramètre sont envoyés lorsqu’un ordinateur hôte ou un routeur rencontre des problèmes lors du traitement du contenu d’un en-tête de paquet, par exemple lors de la rencontre d’une option IPv6 non valide ou d’un type d’en-tête suivant non valide.

S’applique à