IcmpV6Statistics.ParameterProblemsSent プロパティ

定義

送信したインターネット コントロール メッセージ プロトコル Version 6 (ICMPv6) パラメーター異常メッセージの数を取得します。

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

プロパティ値

送信した ICMP パラメーター異常メッセージの合計数を示す Int64 値。

次の例では、このプロパティの値を表示します。

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

注釈

パラメーターの問題メッセージは、無効な IPv6 オプションや無効な Next Header の種類の検出など、パケット ヘッダーの内容の処理中にホスト コンピューターまたはルーターで問題が発生したときに送信されます。

適用対象