IcmpV4Statistics.ParameterProblemsReceived プロパティ

定義

受信したインターネット制御メッセージ プロトコル バージョン 4 (ICMPv4) パラメーターの問題メッセージの数を取得します。

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

プロパティ値

受信した ICMP パラメーター問題メッセージの合計数を指定する Int64 値。

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

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

End Sub

注釈

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

適用対象