IcmpV4Statistics.ParameterProblemsReceived 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得收到的網際網路控制訊息協定(ICMPv4)參數問題訊息數量。
public:
abstract property long ParameterProblemsReceived { long get(); };
public abstract long ParameterProblemsReceived { get; }
member this.ParameterProblemsReceived : int64
Public MustOverride ReadOnly Property ParameterProblemsReceived As Long
屬性值
一個 Int64 指定已接收的 ICMP 參數問題訊息總數的值。
範例
以下範例展示了此性質的價值。
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 選項或無效的下一個標頭類型時,會發送參數問題訊息。