Sdílet prostřednictvím


IcmpV6Statistics.ParameterProblemsSent Vlastnost

Definice

Získá počet ip control message protocol verze 6 (ICMPv6) parametr problém zprávy odeslaných.

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

Hodnota vlastnosti

Hodnota Int64 , která určuje celkový počet odeslaných zpráv o problémech s parametry protokolu ICMP.

Příklady

Následující příklad zobrazí hodnotu této vlastnosti.

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

Poznámky

Parametr Zprávy o problému se odesílají, když hostitelský počítač nebo směrovač narazí na problémy při zpracování obsahu hlavičky paketu, jako je například neplatná možnost IPv6 nebo neplatný typ další hlavičky.

Platí pro